VEX Dictionary / refractlight
refractlight
Traces refracted light through a surface and writes the resulting color, opacity, and alpha for transparency shading.
group: shadingsurface
Available in displace, fog, light, shadow, surface
Usage
void refractlight(vector &cf, vector &of, float &af, vector P, vector D, float bias, float max_contrib, ...)
void refractlight(vector &cf, vector &of, float &af, vector P, vector N, vector I, float eta, float bias, float max_contrib, ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
void refractlight(vector &, vector &, float &, vector, vector, float, float, ...)displace, fog, light, shadow, surfacevoid refractlight(vector &, vector &, float &, vector, vector, vector, float, float, float, ...)displace, fog, light, shadow, surface