|
210 | 210 | </multiply> |
211 | 211 |
|
212 | 212 | <!-- Dielectric Base --> |
213 | | - <!-- apply IOR ratio inversion method to avoid TIR artifact (as in Coat TIR section of spec) --> |
214 | | - <divide name="specular_to_coat_ior_ratio" type="float"> |
215 | | - <input name="in1" type="float" interfacename="specular_ior" /> |
216 | | - <input name="in2" type="float" interfacename="coat_ior" /> |
217 | | - </divide> |
218 | | - <divide name="coat_to_specular_ior_ratio" type="float"> |
219 | | - <input name="in1" type="float" interfacename="coat_ior" /> |
220 | | - <input name="in2" type="float" interfacename="specular_ior" /> |
221 | | - </divide> |
222 | | - <ifgreater name="specular_to_coat_ior_ratio_tir_fix" type="float"> |
223 | | - <input name="value1" type="float" nodename="specular_to_coat_ior_ratio" /> |
224 | | - <input name="value2" type="float" value="1.0" /> |
225 | | - <input name="in1" type="float" nodename="specular_to_coat_ior_ratio" /> |
226 | | - <input name="in2" type="float" nodename="coat_to_specular_ior_ratio" /> |
227 | | - </ifgreater> |
| 213 | + <!-- apply IOR ratio inversion method to avoid TIR artifact (as in Coat TIR section of spec) --> |
| 214 | + <divide name="specular_to_coat_ior_ratio" type="float"> |
| 215 | + <input name="in1" type="float" interfacename="specular_ior" /> |
| 216 | + <input name="in2" type="float" interfacename="coat_ior" /> |
| 217 | + </divide> |
| 218 | + <divide name="coat_to_specular_ior_ratio" type="float"> |
| 219 | + <input name="in1" type="float" interfacename="coat_ior" /> |
| 220 | + <input name="in2" type="float" interfacename="specular_ior" /> |
| 221 | + </divide> |
| 222 | + <ifgreater name="specular_to_coat_ior_ratio_tir_fix" type="float"> |
| 223 | + <input name="value1" type="float" nodename="specular_to_coat_ior_ratio" /> |
| 224 | + <input name="value2" type="float" value="1.0" /> |
| 225 | + <input name="in1" type="float" nodename="specular_to_coat_ior_ratio" /> |
| 226 | + <input name="in2" type="float" nodename="coat_to_specular_ior_ratio" /> |
| 227 | + </ifgreater> |
228 | 228 | <mix name="eta_s" type="float"> |
229 | 229 | <input name="fg" type="float" nodename="specular_to_coat_ior_ratio_tir_fix" /> |
230 | 230 | <input name="bg" type="float" interfacename="specular_ior" /> |
|
326 | 326 | <layer name="dielectric_base_tf" type="BSDF"> |
327 | 327 | <input name="top" type="BSDF" nodename="dielectric_reflection_tf" /> |
328 | 328 | <input name="base" type="BSDF" nodename="dielectric_substrate" /> |
329 | | - </layer > |
| 329 | + </layer> |
330 | 330 | <layer name="dielectric_base_notf" type="BSDF"> |
331 | 331 | <input name="top" type="BSDF" nodename="dielectric_reflection" /> |
332 | 332 | <input name="base" type="BSDF" nodename="dielectric_substrate" /> |
|
543 | 543 | <!-- |
544 | 544 | OpenPBR Anisotropy node definition |
545 | 545 | --> |
546 | | - <nodedef name="ND_open_pbr_anisotropy" node="open_pbr_anisotropy" nodegroup="pbr" |
547 | | - doc="Computes anisotropic surface roughness as defined in the OpenPBR specification."> |
| 546 | + <nodedef name="ND_open_pbr_anisotropy" node="open_pbr_anisotropy" nodegroup="pbr" doc="Computes anisotropic surface roughness as defined in the OpenPBR specification."> |
548 | 547 | <input name="roughness" type="float" value="0.0" /> |
549 | 548 | <input name="anisotropy" type="float" value="0.0" /> |
550 | 549 | <output name="out" type="vector2" /> |
|
0 commit comments