VEX Dictionary / refract
refract
Computes the refracted ray through a surface using an incoming direction, a normal, and a refraction index.
group: shadingshading
Available in every context
Usage
vector refract(vector direction, vector normal, float index)
Examples
No worked examples yet.
Signatures (from vcc -X)
vector refract(vector, vector, float)all contexts