cubos::engine::ShadowAtlasRasterizer struct

Resource which stores the ShadowAtlas rasterizer state.

Public variables

core::gl::Framebuffer spotAtlasFramebuffer
Framebuffer used by the rasterizer to render to the spot shadow atlas.
core::gl::Framebuffer pointAtlasFramebuffer
Framebuffers used by the rasterizer to render to each face of the point shadow atlas.
core::gl::Texture2D spotAtlas
Atlas texture stored to check if the spot atlas framebuffer needs to be recreated.
core::gl::Texture2DArray pointAtlas
Atlas texture stored to check if the point atlas framebuffer needs to be recreated.