Archived

This topic is now archived and is closed to further replies.

fallingbrickwork

Realtime Shadows

Recommended Posts

Hi, Can anyone help me with regards to calculating realtime shadows? Do you know of a very simple example / tutorial where a shadow is cast from one simple object (i.e cube) onto a floor?? I''ve downloaded the NeHe tutorial on shadows, but when I compile and run it (or run the ready-compiled .exe), no shadows seem to be cast on the walls or floor!! I am using GLUT. Please help, I''m starting to crack-up over these SHADOWS!!!!!! Cheers!

Share this post


Link to post
Share on other sites
Hi,

Here''s a link :


http://www.opengl.org/developers/code/mjktips/TexShadowReflectLight.html

Warning, it''s not a volumetric shadow !
I''ve tested the source code and it''s works.

========================
Leyder Dylan
http://ibelgique.ifrance.com/Slug-Production/

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Look on nvidia.com developers section. they have examples of using stencil buffer shadows, depth buffer shadows, etc.

Share this post


Link to post
Share on other sites