View Full Version : Making shadow in openGL
07-16-2009, 01:44 AM
I want to make shadow with opengl
But i don't know how i can get positions of edge points of a object and
understand which object do arrive length of a line to make shadow...
please help me...
07-16-2009, 05:01 AM
What kind of help were you expecting?
With that paltry dissertation I'm afraid the best I can do is point you to google with a search phrase like "opengl shadow on windows", though strictly speaking your shadow method should probably be platform independent.. ;)
07-16-2009, 06:26 AM
what your talking about is probably something like stencil volume shadows, don't bother with them though as there are better ways of doing it, like depth shadow maps.
check this out (http://www.flashbang.se/index.php?id=35) if you want to understand how it works.
Otherwise if that's not what your looking for then i suggest you try and google it as Brolingstanz said.
07-16-2009, 10:52 PM
Very Very Thank you...
07-17-2009, 09:18 AM
Shadows can be created using ray tracing and its variants, but they are time expensive but far more accurate than shadow maps.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.