Returns the I vector refracted through the N normal. The amount of refraction is determined by the IOR (Index Of Refraction) input.
Note: The index of refraction value assumes that it is going from air to the material you want to refract. Air has an index of refraction of 1.0. This means that for the refract node, IOR = 1.0 / [target material’s index of refraction]. Water has an index of refraction of 1.333, so if you wanted to create a water material, the IOR for the refract node would be 1.0 / 1.33 = 0.75018
|I||float||Incident vector to refract|
|N||float||Normal vector to refract through|
|IOR||float||Index of refraction|
|refract( I, N, IOF )||float||Refracted vector|
Still Looking for help?Visit Support