nkUtFresnel
- Last UpdatedJan 24, 2023
- 1 minute read
This is a Fresnel equation. It calculates a falloff value using the dot product between the normal and the view direction. The calculations are done in View Space.
Parameters
normal
-
Size: 3
-
The normal in View Space
exponent
-
Size: 1
-
This is the fresnel exponent. Higher values make the fresnel thinner.
Output
-
Output size: 1
Code example
This is a code example for nkUtFresnel.
<nkUtFresnel name="nNodeName" normal="1 0 0" exponent="2"/>
Additional Notes
