Not logged in, Join Here! or Log In Below:  
News Articles Search    

Submitted by Alexander Hornung, posted on June 04, 2003

Image Description, by Alexander Hornung

Some shadowmapping stuff I did to get into DX9/Cg/Shaders. It extends standard shadowmapping by modifying the depth values of pixels in a pixel shader. This enables one to create rather complex looking objects casting complex shadows, which are based on very simple geometry. The image and demo show a simple, textured sphere. The shadow is casted on the floor geometry as well as the inner parts of the sphere-fragments. Tested it only on my NV30, so I cannot guarantee it is running on other hardware.

You can get the demo here:

The demo includes the cg-shader sources.

Thank you,

Image of the Day Gallery


Archive Notice: This content is archived, and commenting is no longer active. It is here for reference purposes. This content was added on an older version of flipcode, before the site closed in 2005.
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.