I have no control over the reflections and shadows of the ray_switch_shader
How can I control the shadow and reflection of an object separately
Solved! Go to Solution.
Solved by Stephen.Blair. Go to Solution.
You need to use a trace_set. There is a scene file here:
https://docs.arnoldrenderer.com/display/A5AFCUG/Trace+Set
Thank you but this scenario doesn't contain the example I was looking for
You cannot use rayswitch and trace sets together like that.
rayswitch is for rays that hit an object. trace sets is for rays traced from an object.
You can use trace sets to control what objects are visible in the reflections.
Put a trace set on the plane. Then for one or more of the spheres, set the trace set. That will control which spheres are visible in the reflection.
Thank you, I know how the trace set is used, but I don't understand how the example in this Arnold help document does it, or is this example wrong?
https://docs.arnoldrenderer.com/display/A5AFCUG/Trace+Set