I’ve come to a road block figuring out GLSL shadows.
My first question: Are spot lights the only lights that can cast shadows in real-time? I’d really like to be able to find a way to make something like a sunlight casting shadows because outdoors shadows do not diverge like spot light shadows do.
My second question: How do I increase the distance a spot light will cast shadows? I would think it would be the “dist” property as that makes the spot light effect farther out, but the shadows stop casting at a certain distance no matter what i set any of the parameters to it seems. It’s true I could scale everything in my scene down but thats kind of a nuisance if your game movement speeds are already set (it would make everything appear to move in turbo speed in relation to the now smaller environment.)
Thankyou so much in advance to anyone who can help me.