Ray Type Switch

Last modified: 10 March 2025

This switch node will take the Ray Type output from the Surface Editor Input node and allow you to specify a different material depending on the type of ray encountered.

Node-RayTypeSwitch.png
  • Ray Type - Should be hooked to the Ray Type output from the Input node

  • Default - This is the override material input. Materials hooked to this will be used for all other ray types if nothing is hooked to them

  • Reflection - For inputting a different material for Reflection rays

  • Refraction - For inputting a different material for Refraction rays

  • Dissolve - For inputting a different material for Dissolve rays

  • Shadow - For inputting a different material for Shadow rays

  • Occlusion - For inputting a different material for Occlusion rays

  • Radiosity - For inputting a different material for Radiosity rays

  • Caustics - For inputting a different material for Caustics rays

Example - Ray Type Switch