If you want a wall to be see-through from the player's perspective but still have the wall cast a shadow within the world, it is useful to be able to detect whether a shadow pass is being done in the material shader. If you are in a shadow pass stage...

Markdown supported · ⌘↵ to post
No responses yet.