Hi guys, I'm struggling to think of how to get this to work. I have a top-down space shooter game, and I want the ship to cast a shadow when over some surfaces - but not all.
The look I want is when the ship is moving over an asteroid, there should be a shadow, but when out in open space the shadow should be gone.
Any ideas? Perhaps I could do this with some sort of masking?