probably i’m too lazy too type google.com so i’m asking here? how to generate shadow volumes? my only idea is to load some strange affine transformation matrix, render to texture and then use it as a lightmap… probably not too good? (or i just invented something new? ) i have read stecil buffer is used for shadows… what is that damn stencil buffer?.. and how to use it for shadows? or just tell me where to start
Why should we repeat what you can find yourself on google? nvidia has great documents that explain everything you can find via google. If you just want to dive in you could start here I guess: http://developer.nvidia.com/view.asp?IO=ogl_rtt_shadow
Well, google is a good place to start, and that was what you wanted…
The thing is that there are a number of different ways to do shadows depending on the quality you want, do you need to put shadows on non planar surfaces… things like that, so it all depends on what you are going to use it for.