I'm currently trying to implement shadows
I have read some articles saying that I have to generate a depth texture to use it for generating shadows
Does that means I have to render the scene twice?
Do I have to use the depth texture to manipulate the final scene pixel color?
BTW, I'm currently having depth texture used for soft particles.