Skip to main content

SKY_FACE_SIZE

Constant SKY_FACE_SIZE 

Source
const SKY_FACE_SIZE: u32 = 256;
Expand description

The edge of one cube face of the procedural sky, in texels.

The face is written straight into the texture, so the row pitch has to satisfy the copy alignment; the pitch is computed from this and the format rather than written out.