Original Post
I have been pondering how to tackle lighting and I've decided that I would like to add lighting similar to Doom 3 in my engine where each light source almost seems like it's raytraced but I can't be sure. Basically how would you guys handle multiple light sources casting multiple shadows on everything or perhaps would you inface kind of raytrace the lights so that the shadows are not even done, they are automatically generated by the absence of light? Or would I simply have to manage what every single light collides into and what portion of the light would continue wrather than calculating every "ray"? Basically what I'm asking is, how did doom3 do it and can someone point me in the direction of an article or even perhaps a tutorial? And yes I realize that it isn't for the faint hearted programmer, I understand shaders and have used them and I was just wondering how to go about this one?