October 1, 2026 Yen Lily

Redshift Ray Switch in Cinema 4D: Faster Secondary Rays and Art-Directed Shading

Executive SummaryKey Takeaways: Redshift Ray Switch in Cinema 4D
Ray types • Optimization • Art direction

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.

iRender
What a Ray Switch does to one object
Schematic
GI bounce on the floor: green (GI ray color)greymirrorredseen in the mirror (reflection ray)cameracamera ray sees greyreflection ray in the mirror sees redONE MATERIAL, THREE ANSWERS: CAMERA · REFLECTION · GI✓ Ray Switch returns a different color or shader depending on which kind of ray hits the surfaceRay types: Camera, Reflection, Refraction/Transparency and GI, each with optional front/back colors (Maxon example scene)
RaysReflection colorGI color
Recreates the idea of Maxon's example scene

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 SwitchRedshift node

Ray Switch inputs and what they control

From Maxon's Ray Switch documentation for Redshift in Cinema 4D.

SectionWhat it controlsTypical use
CameraThe 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
ReflectionWhat the surface looks like inside reflections; Enable, Enable Front/Back, Color, Back-face Color.A simpler shader in reflections, art-directed reflections
RefractionWhat the surface looks like through refraction and transparency.Lighter shading for objects seen through glass
GIWhat color the surface contributes to global illumination.Boost or reduce color bleeding
CostMaxon notes the node can be placed anywhere in a shader graph at no extra cost; the savings come from what you plug into the secondary ray inputs.

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):

Settings checklist
Redshift material (Shader Graph)
Ray Switch node → between the expensive network and the input (e.g. base color)
Camera input → full network (what the camera sees)
Reflection → Enable + simpler input (flat color / low-res map)
Refraction → Enable + simpler input
GI → Enable + color to bounce into the scene
Front/Back → Enable Front/Back + Back-face Color for thin surfaces
Compare → RenderView snapshot with vs without the switch

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.

iRender
Cheaper Shaders for Secondary Rays
Schematic
Camera rays: full networkBitmap 8KalbedoNoisebreak-upTri PlanarprojectionBumpsurface detailStandard Materialwhat the camera seesReflection, refraction, GI: one nodeFlat colouraverage of the albedoRay SwitchCameraReflectionRefractionGIOutputmaterialCamera hitevaluates the full networkSecondary hitevaluates one nodeMaxon: the Ray Switch node itself adds no cost; the saving comes from simpler shaders on secondary raysCompare RenderView snapshots: same image and lower time, keep the switch; a visible change, remove it
camera inputsecondary inputsRay Switch
Schematic example; node names are illustrative

Quick check: take RenderView snapshots with and without the switch; keep it only where the image looks the same and the render time drops.

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.

FixRay Switch

Common Ray Switch problems

Based on Maxon's Ray Switch and EnvSwitch documentation cited above.

SymptomLikely causeFix
Reflections or GI look unchangedAll ray types use the Camera input until their own section is enabledEnable the Reflection, Refraction or GI section and connect its input
No render time savedThe secondary input still uses the same heavy network; the node itself adds no costFeed a flat average color or a lower-resolution texture, then compare in the RenderView
Simplified material is visible in a mirrorSharp reflections show the secondary shader clearlyKeep the full network for reflection rays; simplify only GI or blurry reflections
Back side looks wrong in reflectionsFront/Back is enabled only in the Camera sectionEnable front/back colors for reflection, refraction and GI as well
Need a different background in reflectionsRay Switch works inside a material, not on the environmentUse the EnvSwitch environment node
Rule of thumbSimplify only what the camera cannot see clearly, and keep the switch only where RenderView snapshots look the same.

Checklist: before you keep a Ray Switch

Tick each line, comparing against the frame without the Ray Switch.

ChecklistRedshift Ray Switch checklist
0 / 7 done
Tip: tick each item as you set up the job; the ticks reset when the page reloads.

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.

iRender
Works 1:1 like your own PC: we keep your setup, you just get more GPUs
IaaS render farm
Your workstationscene.c4d · .blend · .hip1 GPUYour iRender serverscene.c4d · .blend · .hipup to 8 GPUs=same setupWindows or Ubuntu desktopYour software, in the version you chooseYour plugins and scriptsYour licensesYour scene and render settings, unchanged1 GPUGPU power: the only difference1, 2, 4 or 8 × RTX 5090 / 4090✓ Only the GPU count changes: open your scene and render the way you do at home
Same on both machinesTip: upload the full project folder with relative paths so textures are found

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.

Accelerate your production pipeline with high-performance IaaS render farm services and dedicated bare-metal workstations powered by up to 8x NVIDIA GeForce RTX 5090 (32GB GDDR7), high-frequency AMD Ryzen™ Threadripper™ PRO processors, 256GB ECC RAM, and 2TB NVMe SSD storage tailored for your pipeline:
, , , , , , ,

Yen Lily

Yen Lily is a customer support specialist at iRender who helps 3D artists set up Cinema 4D, Redshift, Maya and Houdini projects on iRender's multi-GPU servers. She has written more than 200 guides for the iRender blog, most of them on Redshift and GPU rendering workflows.
Contact

iRENDER GPU

Render Farm Pricing
Quick Start
Multi-GPU Benchmarks
iRender GPU App
Blog
Documentation
The Render Farm
The Company
Terms & Conditions

INTEGRATIONS

Autodesk Maya
Blender
Cinema 4D
Houdini
Karma XPU
Lumion
KeyShot
Unreal Engine
Twinmotion
Redshift
Octane
And many more…

iRENDER TEAM

Elite support 7 days a week
SATURDAY – SUNDAY: 6:00 AM – 11:59 PM
(UTC+7)
Hotline: (+84) 912-785-500
Skype: iRender Support
Email: [email protected]
Address 1: 68 Circular Road #02-01, 049422, Singapore.
Address 2: No.22 Thanh Cong Street, Hanoi, Vietnam.

Contact
이 페이지는 한국어로도 제공됩니다. 한국어로 보기 →