Creates a new ShadowSystem instance with the specified shadow map resolution. Initializes shadow map and point shadow map systems, along with framebuffers for texture arrays.
The resolution (width and height) of shadow maps in pixels
Generates rendering expressions for shadow mapping based on the provided entities and active lights. Creates shadow map render passes for each shadow-casting light and applies Gaussian blur post-processing.
Array of scene graph entities to be rendered for shadow mapping
Array of Expression objects containing the shadow mapping render passes
Sets the depth bias projection-view matrices for shadow mapping on all PBR materials. Calculates and applies bias matrices for directional and spot lights to reduce shadow acne.
Array of scene graph entities to apply the bias matrices to
A system for managing shadow mapping operations in the rendering pipeline. Handles both directional/spot light shadows and point light shadows with Gaussian blur post-processing.