Redshift Ray Switch in Cinema 4D: Faster Secondary Rays and Art-Directed Shading
The Ray Switch node lets one material answer differently to different kinds of rays. The main points from Maxon's documentation:
- Four ray types: Camera (primary), Reflection, Refraction/Transparency and GI, each with optional front and back-face colors.
- Optimization: Feed a simpler shader to reflection, refraction or GI rays where the detail is not visible, which Maxon lists as hand-optimizing a material for specific ray types.
- Art direction: Boost GI color bleeding or reduce rough reflection noise without changing what the camera sees.
- Thin double-sided surfaces: Different front and back colors for paper, leaves or decals without modeling thickness.
- Rendering heavy scenes: Leaner secondary-ray shading helps any GPU; on iRender 2x, 4x or 8x RTX 5090 or RTX 4090 servers you can compare render times with and without the switch in the RenderView.
Not every ray needs the full material. A complex shader that only matters up close still gets evaluated in every reflection, refraction and GI bounce. Redshift’s Ray Switch node lets you decide what each ray type sees, to save render time or to art-direct color bleeding and reflections. This guide follows Maxon’s documentation.
Checked against the Cinema 4D and Redshift documentation, November 2026.
1. What is the Ray Switch node in Redshift?
Ray Switch is a utility node that makes a material shade differently depending on which kind of ray hits it, or whether the surface is front- or back-facing (Maxon: Ray Switch). The figure recreates the idea of Maxon’s example.
The camera sees the sphere in its normal grey material. In the mirror, a reflection ray hits the same sphere and gets the red shader from the Reflection section. Light bouncing off the sphere carries the green GI color onto the floor. Same object, same material, three different answers.
Ray Switch inputs and what they control
From Maxon's Ray Switch documentation for Redshift in Cinema 4D.
| Section | What it controls | Typical use |
|---|---|---|
| Camera | The default shading seen by primary rays. All ray types use it unless their own section is enabled. Optional front/back colors. | Double-sided paper, labels, decals on glass |
| Reflection | What the surface looks like inside reflections; Enable, Enable Front/Back, Color, Back-face Color. | A simpler shader in reflections, art-directed reflections |
| Refraction | What the surface looks like through refraction and transparency. | Lighter shading for objects seen through glass |
| GI | What color the surface contributes to global illumination. | Boost or reduce color bleeding |
2. How to use Ray Switch to speed up secondary rays (step by step)
To speed up secondary rays with Ray Switch, place the node between a heavy texture network and the material input, keep the full network on the Camera input, and enable Reflection, Refraction or GI with a cheaper input such as a flat color. Maxon notes the node itself adds no cost; the saving comes from the simpler secondary shading.
Settings checklist (copy or follow line by line):
Step 1: Find the expensive part
Look for heavy texture networks, layered noise or high-resolution maps on objects that appear mostly in reflections or bounce light.
Step 2: Insert the Ray Switch
Place a Ray Switch between that network and the material input, for example base color, and connect the full network to the Camera input.
Step 3: Feed a simpler version to secondary rays
Enable Reflection, Refraction or GI and connect a cheaper input: a flat average color or a lower-resolution texture.
Step 4: Compare
Render the same frame with and without the switch in the RenderView and compare time and look. Keep the switch only where the difference is invisible.
3. How to art-direct GI and reflections with Ray Switch
Ray Switch art-directs secondary light by giving GI, reflection and refraction rays their own color or shader while the camera keeps the original material. Enable the GI section to boost or calm color bleeding, feed reflection rays a smoother input to reduce noise in blurry reflections, and use front and back-face colors for thin surfaces.
- Color bleeding: enable GI and boost or desaturate the color the object bounces, without touching what the camera sees.
- Rough reflection noise: feed a smoother input to reflection rays to calm noisy detail seen in blurry reflections.
- Thin surfaces: use front and back-face colors for paper, leaves or labels on glass.
- Environment: to show a different environment in reflections than in the background, use the EnvSwitch environment node instead.
Ray Switch problems and fixes
Most Ray Switch issues come from a section that is not enabled or from simplifying the wrong ray type. The table lists the common symptoms and what to change.
Common Ray Switch problems
Based on Maxon's Ray Switch and EnvSwitch documentation cited above.
| Symptom | Likely cause | Fix |
|---|---|---|
| Reflections or GI look unchanged | All ray types use the Camera input until their own section is enabled | Enable the Reflection, Refraction or GI section and connect its input |
| No render time saved | The secondary input still uses the same heavy network; the node itself adds no cost | Feed a flat average color or a lower-resolution texture, then compare in the RenderView |
| Simplified material is visible in a mirror | Sharp reflections show the secondary shader clearly | Keep the full network for reflection rays; simplify only GI or blurry reflections |
| Back side looks wrong in reflections | Front/Back is enabled only in the Camera section | Enable front/back colors for reflection, refraction and GI as well |
| Need a different background in reflections | Ray Switch works inside a material, not on the environment | Use the EnvSwitch environment node |
Checklist: before you keep a Ray Switch
Tick each line, comparing against the frame without the Ray Switch.
4. Where should you render optimized scenes: SaaS or IaaS farm?
A SaaS render farm renders the material as saved. An IaaS render farm such as iRender lets you open the scene on the render machine and compare frame times with and without Ray Switch optimizations in the RenderView before committing the whole sequence.
These videos show Cinema 4D and Redshift jobs on iRender multi-GPU servers.
On iRender you rent a whole server with 2x, 4x or 8x RTX 5090 or RTX 4090 GPUs, with Cinema 4D and Redshift pre-installed; Prime members get activated Cinema 4D and Redshift licenses. Related: clay renders with Redshift. Real render times are in our Redshift benchmark, and plans are on the Cinema 4D Redshift render farm page.
5. Redshift Ray Switch FAQ
1. What does the Redshift Ray Switch node do?
It returns a different color or shader depending on the type of ray hitting the surface: camera rays, reflection rays, refraction or transparency rays, or GI rays. Each type can also have separate front and back-face colors.
2. Does Ray Switch make Redshift render faster?
The node itself has no extra cost according to Maxon. Speed gains come from feeding simpler shaders to secondary rays, for example a plain color instead of a complex texture network for GI or blurry reflections.
3. How do I give a plane different colors on each side in Redshift?
Use a Ray Switch, enable Front/Back in the Camera section and set a different Back-Face Color. Enable front/back for reflection, refraction and GI too if the back side should also look different in those.
4. How do I change color bleeding without changing the object’s look?
Enable the GI section of a Ray Switch and set the color or shader that the object should contribute to global illumination. The camera still sees the original material.
5. What is the difference between Ray Switch and EnvSwitch?
Ray Switch is used inside a material to change what a surface looks like to each ray type. EnvSwitch is an environment node that serves different textures or colors to GI, reflection and refraction rays, for example a different environment in reflections than in the background.
6. Can I hide an object only in reflections instead?
Yes. To remove an object from reflections or refractions entirely, use the Visibility tab of the Redshift Object tag, for example Visible in Reflections. Ray Switch is for changing how it looks, not whether it is visible.
7. Where is the Ray Switch node in Redshift?
It is a utility node in the Redshift node editor (Shader Graph) in Cinema 4D. Add it from the node list or search for Ray Switch, then place it between a shader network and a material input such as base color.




