Table of Contents

This article explains the settings and values for the Corona Rayswitcher Material in Cinema 4D.

 

Overview


 

The Corona Ray Switcher material lets you assign different material types for different ray types (GI, reflection, refraction, direct visibility). For example, you can use it to create materials that do not affect the GI, materials to reduce or increase the color bleeding, or to look different through reflection or refraction.

 

 

Ray types


Global illum. – Specifies the material used for global illumination rays.

Reflection – Specifies the material used for reflections (the appearance of the object when it is reflected in other objects).

Refraction – Specifies the material used for refraction (the appearance of this object when it is refracted into other objects).

Directly visible – Specifies the material that is going to be directly visible.

Displacement from – This parameter defines which of the four materials serves as the source of displacement for the Rayswitcher material.

Global illumination material – The displacement is taken from the material used in the global illumination slot.
Reflection material – The displacement is taken from the material used in the reflection slot.
Refraction material – The displacement is taken from the material used in the refraction slot.
Directly visible material – The displacement is taken from the material used in the directly visible slot.

 

 

Examples


A golden ring casting reflective caustics from sunlight. No Rayswitch material used.

 

A golden ring using the Rayswitch material. Caustics are disabled by connecting a pure black Corona Legacy Material to the Global illumination slot. This prevents any light from bouncing off the ring.

 


 

A ring with gray diffuse material casting light. This is achieved by connecting a Corona Light Material into the Rayswitch material's global illumination slot, and connecting a simple gray material into all other slots.

 

A ring which appears blue when seen directly, green in refraction, and orange in reflections. This is achieved by connecting a blue material into the Directly visible and Global illumination slots, a green material into the Refraction slot, and an orange material into the Reflection slot.

 


 

 

A golden ring with shadow casting disabled. This is achieved by leaving the Global illumination slot of the Rayswitch material empty. The sunlight is not blocked by this material, so it casts no shadows.

 

 

 

 

An example of making the reflections of an object less distracting using the Corona Rayswitch Material. The textile material of the chair is darker when visible in reflections thanks to a Rayswitch material with a darker diffuse material connected to the Reflection slot.

 

 

Original Material
Darker Reflections