16-09-2024, 06:58 PM
I want to render some specific lighting on cloth through rendering culling mask. I have created a separate special layer for my Obi Cloth and assigned it that special layer. Now my light is only rendering on that specific special layer. It works well in editor because I have assigned that layer to the Obi Cloth which also has Mesh Renderer and Obi Cloth Renderer. But when I enter play mode and Obi Cloth is simulated and its rendered using Obi Cloth Renderer it doesn't work, upon some investigation I came to know that it is only considering that cloth in default layer.
How I can change the layer of Obi Cloth Renderer from default to some other layer?
How I can change the layer of Obi Cloth Renderer from default to some other layer?