View Full Version : 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? http://www.opengl.org/discussion_boards/ubb/smile.gif) 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 http://www.opengl.org/discussion_boards/ubb/smile.gif)
03-01-2003, 03:26 PM
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.
03-01-2003, 11:58 PM
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.
shadow on planar surface should be enough...
03-02-2003, 07:30 AM
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.