raisin::RayraiWindow::ShadowAtlasPlan
struct · #include <rayrai/RayraiWindow.hpp>
Result of planAdditionalShadowAtlas().
Public attributes
enabled
cpp
bool enabledShadows are enabled and the selected lights supply automatic 2D tiles or optional point-face entries.
overflow
cpp
bool overflowAt least one tile did not fit.
pointShadowPolicy
cpp
PointShadowPolicy pointShadowPolicyRenderQualitySettings::pointShadowPolicy.
pointShadowsUseStandaloneCubemaps
cpp
bool pointShadowsUseStandaloneCubemapsTrue when point shadows use standalone cubemaps.
atlasResolution
cpp
int atlasResolutionAtlas edge in texels. Automatic layouts fit the padded tiles within the configured limit.
padding
cpp
int paddingPadding between tiles in texels, clamped to [0, 16].
tileCount
cpp
int tileCountNumber of placed tiles.
nonPointTileCount
cpp
int nonPointTileCountPlaced spot/directional/area tiles.
pointShadowFaceTileCount
cpp
int pointShadowFaceTileCountPlaced point-light face tiles.
occupancy
cpp
float occupancyFraction of atlas area covered by tiles.
tiles
cpp
std::vector<ShadowAtlasTile> tilesPlaced tiles, largest first.