Skip to content

Commit

Permalink
CA-89 Updated showcase with Layered
Browse files Browse the repository at this point in the history
  • Loading branch information
connortbot committed Sep 30, 2024
1 parent 82be8b7 commit 41b0c29
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion tests/0.1.5-showcase.csr
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,21 @@ id floor_quad
position 1 0 2.5
u 0 0 -7.5
v 8 0 0
material mixture_example
material mixture_example

# NEW FEATURE: Layered materials
# Lets make a cool combination that isn't a mixture, but rather two layers of materials.
# What if we want to give the diffuse a diamond exterior?

Material[Layered]
id layered_example
top cyan_diamond
bottom green_diffuse
medium medium_example # it could also be 'no' if we didn't want to use one

Sphere
id layered_sphere
position 7 2 -8
material layered_example
radius 2
medium false

0 comments on commit 41b0c29

Please sign in to comment.