- Home /
How to draw shadows on an object with a render queue over 2500
I know that in Unity, it is impossible to draw shadows on the object with a render queue over 2500, but is there any way to make it possible?
I'm making a see-through function (Link) and I found that the controlling object(in that video, it is sheep) doesn't cast shadow in that 'stencil sphere'.
So, to solve that problem, I changed the render queue to 2550(over 2500, under 3000), and the controlled object now can cast shadow, but the 'wall' object doesn't receive shadows.
1. If the render queue is 2500 or under 2500(Opaque), the 'controlling object' can't cast shadows,
2. and if the render queue is over 2500, the 'wall' can't receive shadows.
This is why I'm finding a way to make it possible to draw shadows on object with a render queue over 2500.
Thanks.