View Single Post
Old 08-03-04, 03:36 PM   #20
Registered User
Zeno's Avatar
Join Date: Aug 2002
Location: San Diego, CA
Posts: 106
Default Re: Doom 3 pre-rendered "dynamic shadows" ?

Originally Posted by Clay
Hey since you obviously have Doom 3 now... how's about some more examples of this for everyone's consideration?
Guys, you're chasing ghosts here. You cannot "cheat" on stencil shadows. It uses the depth buffer that's already been laid down by the objects in the scene, combined with the silhouette of the object extruded away from the light source in 3D to define the shadowed regions in screen space. It is a physically correct model for point lights.

P.S - Nice observation in the pic above, Clay. Another thing to notice is that the shadow strip is "thicker" on the floor even though it's further away because it is at more of a glancing angle to the light than the box is.
Zeno is offline   Reply With Quote