Project Rembrandt: Difference between revisions

Jump to navigation Jump to search
Line 518: Line 518:


=== Making sure that all geometry will cast shadow ===
=== Making sure that all geometry will cast shadow ===
To limit the amount of geometry rendered in the shadow map, and also to reduce artifacts (shadow acne), only faces not facing the sun are casting shadows. The test is made using the normal orientation. That means that double-sided polygons, or mesh that are not closed, will be transparent to light at certain sun angles. To avoid that, modelers can either :
* ensure that the object is always in the shadow of another objects,
* close their mesh, or,
* double polygons with the normal set to the opposite.


=== Adding lights to a model ===
=== Adding lights to a model ===
269

edits

Navigation menu