I'm thinking, is there a way to prevent shadow maps to render every single objects, that is in light's range every frame, and still sustain visual quality ?
Let's say, I have a sun light source, a small terrain, a few trees and and a wooden box that is controlled by physics. Now I need to shadow this scene. The naive approach would be to render the terrain, the trees and the box every frame into the light's depth map.
Since light do not move relative to the terrain and the trees, can I just render them once into the light's depth map, and only render the wooden box every frame, since it is rolling downhill, for example.
Is there any way to only re-render objects that are in motion relative to the light ?
Edited by solenoidz, 27 September 2012 - 11:13 PM.