VEX Dictionary / rayhittest
rayhittest
Fires a ray from a point along a direction to test scene occlusion, optionally returning the hit position and normal.
group: shadingshading
Available in displace, fog, light, shadow, surface
Usage
float rayhittest( vector P; vector D; float bias; ... )
float rayhittest( vector P; vector D; vector &pHit; vector &nHit; float bias; ... )
Examples
No worked examples yet.
Signatures (from vcc -X)
float rayhittest(vector, vector, float, ...)displace, fog, light, shadow, surfacefloat rayhittest(vector, vector, vector &, vector &, float, ...)displace, fog, light, shadow, surface