Raycast-nod¶
The Raycast node traces a ray in the Scene and reports information from the first surface it hits (if any).
This is an expensive node and can significantly slow down renders. You can bake the results to improve render times.
Cycles Only The Raycast node interprets all scene geometry as opaque. It doesn’t take transparency into account to discard hits.
EEVEE Only The Raycast node has the usual Screen-Space Effects limitations.
Inmatningar¶
- Position
The starting position of the ray. When not connected, the surface position is used.
- Riktning
The direction the ray goes towards. When not connected, the surface normal is used.
- Längd
The maximum distance the ray can travel before being considered ”no hit”.
Egenskaper¶
- Only Local
Only report hits against the object itself, not other objects.
Utgångar¶
- Är träffad
One if a hit was detected, zero otherwise.
- Self Hit
One if the detected hit was against the object itself, zero otherwise.
- Avstånd till träff
The distance the ray has traveled before the hit. If no hit is found, the ray Length is returned.
- Position för träff
The hit location. If no hit is found, a zero vector is returned.
- Hit Normal
The geometry Normal of the hit surface. If no hit is found, a zero vector is returned.