Skip to content

ludus::graphics::renderer::LightClusterDescription

Ludus Wiki · API overview · Browse API

Struct

Regular 8x8x8 grid in a rigidly transformed space, independent of opaque depth.

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp

#include <ludus/graphics/renderer/lighting.hpp>
struct ludus::graphics::renderer::LightClusterDescription final

Fields

WorldToGrid

ludus::foundation::math::Affine3 ludus::graphics::renderer::LightClusterDescription::WorldToGrid {}
World-to-grid rigid transform; columns must be orthonormal within 1e-5.

Related types: ludus::foundation::math::Affine3

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp

Bounds

ludus::foundation::math::Aabb3 ludus::graphics::renderer::LightClusterDescription::Bounds {{-10, -10, -10}, {10, 10, 10}}
Finite grid-space bounds in meters, each extent [0.01,2000000]. Surfaces outside this box evaluate the full admitted light list.

Related types: ludus::foundation::math::Aabb3

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/lighting.hpp