Graphics‎ > ‎3D‎ > ‎

Shadows

Every Taffer need to play Thief: The Dark Project

The process of learning if something is in shadow or not is not as easy as one would think.

Use a texture to store the light levels of a surface.

Shadow Map - 1978
Render a depth buffer from the light source viewpoint and use it to detect what the light can shine on.

Shadow Volume - 1977
Create volumes from the occluders silhouette edges and render them using the stencil buffers.


Reference

Comments