VEX Dictionary / reflectlight
reflectlight
Gathers reflected light contribution at a surface point along a direction, used for raytraced reflections in shaders.
group: shadingsurface
Available in displace, fog, light, shadow, surface
Usage
vector reflectlight(float bias, float max_contrib, ...)
vector reflectlight(vector P, vector D, float bias, float max_contrib, ...)
vector reflectlight(vector P, vector N, vector I, float bias, float max_contrib, ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
vector reflectlight(float, float, ...)displace, fog, light, shadow, surfacevector reflectlight(vector, vector, float, float, ...)displace, fog, light, shadow, surfacevector reflectlight(vector, vector, vector, float, float, ...)displace, fog, light, shadow, surface