Function Kataglyphis::assignPunctualShadowSlots#
Defined in File PunctualLight.ixx
Function Documentation#
-
std::vector<PunctualShadowSlot> Kataglyphis::assignPunctualShadowSlots(std::span<glm::vec4> rows, const glm::vec3 &boundsMin, const glm::vec3 &boundsMax)#
Gives the first MAX_SHADOWED_PUNCTUAL_LIGHTS point and spot lights of packed
rowsa cube: their row 3 becomes [cos_outer, slot + 1, near, far], 0 in .y meaning unshadowed (Rust’s zero pad).