--- title: "Multiray Generator" url: "https://help.maxon.net/c4d/en-us/Content/html/NET_MAXON_PATTERN_NODE_GENERATOR_MULTIRAY.html" section_path: "The Node Editor > The individual Assets > Material Generator > Multiray Generator" element_id: "NET_MAXON_PATTERN_NODE_GENERATOR_MULTIRAY" description: "This page describes the Multiray Generator node of the classic node materials in Cinema 4D. It casts multiple sampling rays and evaluates their hits — the …" --- # Multiray Generator > **Note:** **What is it about?** > > This page describes the **Multiray Generator node** of the classic node materials in **Cinema 4D**. It casts multiple sampling rays and evaluates their hits — the basis for custom occlusion- and proximity-style effects. ![Image: 043776.jpg](https://help.maxon.net/c4d/en-us/Content/Resources/Images/043776.jpg)\ The Multiray Generator can simultaneously send multiple calculation beams in any direction. A range of information can be collected at the locations at which the rays impact. For example, the average distance between these collisions and the starting point can be calculated. In this example, the rays are aligned with the colored cube. Surfaces that cannot see the cube directly will remain darker than the areas that have a clear view of the cube. This creates a simple directional Ambient Occlusion. > **Tip:** Note: > > This Node is only available when editing a classic Cinema 4D Bode Material. This Node can emit numrous calculation beams and output their results. In this way, distances to neighboring surfaces can be measured, for example, as required for the calculation of Subsurface Scattering or Ambient Occlusion.