Rendering Shadows: Difference between revisions

No edit summary
Line 4: Line 4:
===Shadow mapping===
===Shadow mapping===
{{main | Wikipedia: Shadow Mapping}}
{{main | Wikipedia: Shadow Mapping}}
For each light source, compute what the light hits by using the slight source as a camera and doing a render pass. This is typically only done for the primary light in the scene.
At render time, each object can sample into the shadow map to determine if it is occluded or not.


===Shadow Volume===
===Shadow Volume===