Module light

Module light 

Source
Expand description

Defines light types for the rendering system.

This module provides the data structures for representing different light sources in a scene. These types are used by the ECS components in khora-data and by the render lanes in khora-lanes to calculate lighting during rendering.

Structs§

DirectionalLight
A directional light source that illuminates from a uniform direction.
PointLight
A point light source that emits light in all directions from a single point.
SpotLight
A spot light source that emits light in a cone from a single point.

Enums§

LightType
An enumeration of all supported light types.