Raytrace shadows

Hello,
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?

Thanks.

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.

Good luck

[This message has been edited by Kaycee (edited 11-23-2001).]