how to generate shadows?

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

i need you guys,help )

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

But google is a better place to look.

Hi !

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.

Mikael

shadow on planar surface should be enough…

Ok,
http://www.google.com/search?q=opengl+planar+shadows&ie=UTF-8&oe=UTF-8&hl=sv&lr=

)))