Original Post
Dear All, Wondering if someone can clarify an issue for me. I want to light and shadow a scene using shaders. I have a shader performing lighting calculations and I have a calculated shadow map. Should I pass my shadow map to my lighting shader and simply colour according to whether or not the pixel is in shadow? Or am I oversimplifying matters?