|
71 | 71 | doc="The thickness of the thin-film layer on the base (in micrometers)." /> |
72 | 72 | <input name="thin_film_ior" type="float" value="1.4" uimin="0.0" uisoftmin="1.0" uisoftmax="3.0" uiname="Thin Film Index of Refraction" uifolder="Thin Film" uiadvanced="true" |
73 | 73 | doc="The index of refraction of the thin-film." /> |
| 74 | + <input name="emission_weight" type="float" value="0.0" uimin="0.0" uimax="1.0" uiname="Emission Weight" uifolder="Emission" |
| 75 | + doc="Emission weight luminance multiplier." /> |
74 | 76 | <input name="emission_luminance" type="float" value="0.0" uimin="0.0" uisoftmax="1000.0" uiname="Emission Luminance" uifolder="Emission" |
75 | 77 | doc="The amount of emitted light, as a luminance in nits." /> |
76 | 78 | <input name="emission_color" type="color3" value="1, 1, 1" uimin="0,0,0" uimax="1,1,1" uiname="Emission Color" uifolder="Emission" |
|
584 | 586 | <input name="in1" type="float" nodename="coat_ior_to_F0_sqrt" /> |
585 | 587 | <input name="in2" type="float" nodename="coat_ior_to_F0_sqrt" /> |
586 | 588 | </multiply> |
587 | | - <multiply name="emission_weight" type="color3"> |
588 | | - <input name="in1" type="color3" interfacename="emission_color" /> |
| 589 | + <multiply name="weighted_emission_luminance" type="float"> |
| 590 | + <input name="in1" type="float" interfacename="emission_weight" /> |
589 | 591 | <input name="in2" type="float" interfacename="emission_luminance" /> |
590 | 592 | </multiply> |
| 593 | + <multiply name="emission_color_weight" type="color3"> |
| 594 | + <input name="in1" type="color3" interfacename="emission_color" /> |
| 595 | + <input name="in2" type="float" nodename="weighted_emission_luminance" /> |
| 596 | + </multiply> |
591 | 597 | <uniform_edf name="uncoated_emission_edf" type="EDF"> |
592 | | - <input name="color" type="color3" nodename="emission_weight" /> |
| 598 | + <input name="color" type="color3" nodename="emission_color_weight" /> |
593 | 599 | </uniform_edf> |
594 | 600 | <multiply name="coat_tinted_emission_edf" type="EDF"> |
595 | 601 | <input name="in1" type="EDF" nodename="uncoated_emission_edf" /> |
|
0 commit comments