Contents

struct

SushiEngine::Simulation::LightParameters

Holds the authorable parameters of a punctual light on an entity.

Declared in
engine/world/simulation/include/SushiEngine/simulation/render_parameters.hpp

See also

engine/world/simulation/include/DRAWING.md

Properties

color

Linear light colour.

intensity

Radiance scale (HDR; tonemapped later).

range

Metres the windowed falloff reaches zero at.

is_spot

Spot cone (true) or omnidirectional point (false).

inner_degrees

Spot inner half-angle, degrees (full brightness).

outer_degrees

Spot outer half-angle, degrees (dark beyond).

casts_shadows

Write a shadow map (spot lights only for now).