Optimize shadow and clouds rendering.