Skip to content

Commit

Permalink
Fix gooch shader usage in Example material.
Browse files Browse the repository at this point in the history
  • Loading branch information
kwokcb committed Jan 27, 2024
1 parent 94eb3ac commit 942dc1f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions resources/Materials/Examples/npr/gooch_material.mtlx
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
<input name="uvtiling" type="vector2" value="1.0, 1.0" />
</tiledimage>
<gooch_shade name="gooch1" type="color3">
<input name="warm_color" type="color3" value="0.6, 0, 0" />
<input name="cool_color" type="color3" value="0, 0, 0.6" />
<input name="light_direction" type="vector3" value="0, 1, 1" />
<input name="specular_color" type="color3" value="0.8, 0.8, 0.8" />
<input name="diffuse_color" type="color3" value="1, 0, 0" />
<input name="yellow_tone" type="float" value="0" />
<input name="blue_tone" type="float" value="1" />
<input name="diffuse_strength" type="float" value="0" />
<input name="luminance_shift" type="float" value="0.522" />
<input name="shininess" type="float" value="16" />
</gooch_shade>
<output name="out_basecolor" type="color3" nodename="gooch1" />
<output name="out_color" type="color3" nodename="image_color" />
Expand Down

0 comments on commit 942dc1f

Please sign in to comment.