Class: ShadowAtlas

ShadowAtlas

ShadowAtlas contains and manages the shadow map and its subdivision between different lights.


new ShadowAtlas()

Author:
  • derschmale <http://www.derschmale.com>

Methods


initRects()

mapsPerLevel is an array containing the count per quality levels totalMaps is the total amount of maps required