raisin::RayraiWindow::ShadowAtlasPlan
struct · #include <rayrai/RayraiWindow.hpp>
Result of planAdditionalShadowAtlas().
Public attributes
enabled
cpp
bool enabledAtlas planning is enabled, shadows are on and additional shadow lights are selected.
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 size in texels, clamped to [512, 16384].
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.