Function Kataglyphis::punctualShadowFaceMatrices

Function Kataglyphis::punctualShadowFaceMatrices#

Function Documentation#

std::array<glm::mat4, 6> Kataglyphis::punctualShadowFaceMatrices(const PunctualShadowSlot &slot)#

View-projections of a cube’s faces in Vulkan’s layer order (+X, -X, +Y, -Y, +Z, -Z), each a 90-degree perspective whose NDC xy is the face’s (sc, tc) / |ma| of the cube-map selection table, depth zero to one.