View Full Version : Raytrace shadows
11-22-2001, 09:48 PM
I've made an application that draws a scene using OpenGL. Now I use lighting to make shadows but I don't put projected shadows on other objects or the floor.
How can I include this kind of shadows in my scene?
11-23-2001, 12:13 AM
You are entering the realm of advanced topics with this one. There are plenty of ways to create shadows. You will have to decide which is best for your scene. Try to find some info on shadow volumns and shadow mapping. You can find some demos for shadow mapping on Nvidia's developer site. developer.nvidia.com There was a presentation by Mark Kilgard that gives you some good info on the topic. Also the book Game Programming Gems has info on shadow volumns and shadow mapping.
Search the advanced forum too. They have talked about this a lot.
[This message has been edited by Kaycee (edited 11-23-2001).]
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.