libprimis icon indicating copy to clipboard operation
libprimis copied to clipboard

Allocate sunlight shadow maps to fixed area of shadow map

Open no-lex opened this issue 4 years ago • 0 comments

As the Imprimis engine will be designed largely for sunlit maps, having the sunlight be a key part of the shadow atlas rather than as an equal member compared to light entities is a logical consequence.

By setting the CSM size to take up three quarters of the total shadow atlas (2048) and then affixing them to set locations in the shadow atlas, it should be possible to alleviate many of the shadow map aliasing problems that come with large sunlight SMs.

no-lex avatar Apr 20 '20 18:04 no-lex