Generator Ray

What is it about?

This page describes the Generator Ray node of the classic node materials in Cinema 4D. It casts a single ray from a chosen origin and reports hit distance, position and normal — a raycast probe inside the material.

The Generator Ray needs a starting point and a direction for the generation of a ray. When the ray hits a surface, information about the position and surface Normals, for example, will be calculated at that location.
Note:

This Node is only available when editing a classic Cinema 4D Node Material.

This Node can send a beam from a custom point of origin. If this ray hits a surface, the distance of the collision point, its position or its surface normal can be output, for example.