Raycast Node


Raycast node.

The Raycast node intersects rays from one geometry onto another. A ray starts on each point of the input geometry. It computes hit points on the target mesh and outputs normals, distances and any surface attribute specified by the user.



Rays are created at the geometry points.

Target Geometry

Geometry that rays are tested against.

Ray Direction

Direction of each ray from the starting position.

Ray Length

Maximum distance a ray can travel before being considered “no hit”.

Target Attribute

An optional attribute of the Target Geometry that will be interpolated at the hit points. The resulting values are stored in the output attribute named by Hit Attribute.

Is Hit

Boolean output attribute that is true for each ray which has hit the Target Geometry.

Hit Position

Output attribute storing the intersection point with the target mesh.

Hit Normal

Output attribute storing the surface normal vector at the hit location.

Hit Distance

Output attribute storing distance from the ray origin to the hit point.

Hit Attribute

Output Attribute storing interpolated values of the Target Attribute at the hit positions.


Ray Direction

The input is a text field that expects an attribute name.


The input is a vector of three float numbers.

Ray Length

The input is a text field that expects an attribute name.


The input is a number field.


How attributes of the target mesh are mapped to the attribute values on the result geometry.


Vertex and corner attributes are interpolated with a bilinear function.


Chooses the attribute value of the closest vertex or face corner without interpolating.



Geometry that contains output attributes for each ray.