Skip to content

ludus::graphics::renderer::LightTransformerQuery

Ludus Wiki · API overview · Browse API

Struct

Decoder inputs in the same coordinate system as the encoded anchors.

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

#include <ludus/graphics/renderer/light_transformer.hpp>
struct ludus::graphics::renderer::LightTransformerQuery final

Fields

PositionModel

foundation::math::Vector4 ludus::graphics::renderer::LightTransformerQuery::PositionModel {}
XYZ model position, W zero.

Related types: foundation::math::Vector4

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

NormalModel

foundation::math::Vector4 ludus::graphics::renderer::LightTransformerQuery::NormalModel {}
XYZ nonzero shading normal, normalized during preparation; W zero.

Related types: foundation::math::Vector4

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

Albedo

foundation::math::Vector4 ludus::graphics::renderer::LightTransformerQuery::Albedo {}
Linear RGB reflectance in [0,1], W zero.

Related types: foundation::math::Vector4

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