Skip to content

raisin::RayraiWindow::ShadowAtlasPlan ​

struct · #include <rayrai/RayraiWindow.hpp>

Result of planAdditionalShadowAtlas().

Public attributes ​

enabled ​

cpp
bool enabled

Shadows are enabled and the selected lights supply automatic 2D tiles or optional point-face entries.

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 edge in texels. Automatic layouts fit the padded tiles within the configured limit.

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.