Skip to content

Commit

Permalink
Clarify highlight logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jstone-lucasfilm committed Jan 30, 2024
1 parent 6f8dc12 commit 8afc520
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/nprlib/nprlib_ng.mtlx
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@
<input name="in1" type="float" nodename="VdotR" />
<input name="in2" type="float" value="0" />
</max>
<power name="specular_power" type="float">
<power name="specular_highlight" type="float">
<input name="in1" type="float" nodename="VdotR_nonnegative" />
<input name="in2" type="float" interfacename="shininess" />
</power>
<multiply name="specular" type="float">
<input name="in1" type="float" interfacename="specular_intensity" />
<input name="in2" type="float" nodename="specular_power" />
<input name="in1" type="float" nodename="specular_highlight" />
<input name="in2" type="float" interfacename="specular_intensity" />
</multiply>
<add name="final_color" type="color3">
<input name="in1" type="color3" nodename="diffuse" />
Expand Down

0 comments on commit 8afc520

Please sign in to comment.