Skip to content

raisin::RayraiWindow::ShadowAtlasPlan ​

struct · #include <rayrai/RayraiWindow.hpp>

Result of planAdditionalShadowAtlas().

Public attributes ​

enabled ​

cpp
bool enabled

Atlas planning is enabled, shadows are on and additional shadow lights are selected.

overflow ​

cpp
bool overflow

At least one tile did not fit.

pointShadowPolicy ​

cpp
PointShadowPolicy pointShadowPolicy

RenderQualitySettings::pointShadowPolicy.

pointShadowsUseStandaloneCubemaps ​

cpp
bool pointShadowsUseStandaloneCubemaps

True when point shadows use standalone cubemaps.

atlasResolution ​

cpp
int atlasResolution

Atlas size in texels, clamped to [512, 16384].

padding ​

cpp
int padding

Padding between tiles in texels, clamped to [0, 16].

tileCount ​

cpp
int tileCount

Number of placed tiles.

nonPointTileCount ​

cpp
int nonPointTileCount

Placed spot/directional/area tiles.

pointShadowFaceTileCount ​

cpp
int pointShadowFaceTileCount

Placed point-light face tiles.

occupancy ​

cpp
float occupancy

Fraction of atlas area covered by tiles.

tiles ​

cpp
std::vector<ShadowAtlasTile> tiles

Placed tiles, largest first.

RaiSim — physics for robotics and AI.