raisin::RayraiWindow::ShadowAtlasTile
struct · #include <rayrai/RayraiWindow.hpp>
One tile of ShadowAtlasPlan. Pixel coordinates are in atlas texels.
Public attributes
shadowIndex
cpp
size_t shadowIndexIndex among the selected additional shadow lights.
sourceLightIndex
cpp
size_t sourceLightIndexIndex into the additional-light list, or size_t(-1) if unknown.
face
cpp
int faceCubemap face for point lights, otherwise 0.
pointShadow
cpp
bool pointShadowTrue for a point-light cubemap face.
resolution
cpp
int resolutionTile size in texels.
x
cpp
int xLeft edge.
y
cpp
int yTop edge.
w
cpp
int wWidth.
h
cpp
int hHeight.
uvRect
cpp
glm::vec4 uvRectNormalized rectangle (u0, v0, u1, v1).