cubos::engine::DirectionalLight struct

Component which makes an entity behave like a directional light.

The light points towards the local forward vector of the entity.

Public variables

glm::vec3 color
Color of the light.
float intensity
Intensity of the light.