Nodo Proyectar rayos

El nodo Proyectar rayos.

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.

Entradas

Posición

The starting position of the ray. When not connected, the surface position is used.

Dirección

The direction the ray goes towards. When not connected, the surface normal is used.

Longitud

The maximum distance the ray can travel before being considered «no hit».

Propiedades

Only Local

Only report hits against the object itself, not other objects.

Salidas

Es impacto

One if a hit was detected, zero otherwise.

Self Hit

One if the detected hit was against the object itself, zero otherwise.

Distancia de impacto

The distance the ray has traveled before the hit. If no hit is found, the ray Length is returned.

Posición de impacto

The hit location. If no hit is found, a zero vector is returned.

Normal de impacto

The geometry Normal of the hit surface. If no hit is found, a zero vector is returned.