#include <Engine/Scene/Light.hpp>
Define the attenuation of the light source
- Todo
- for the moment, the attenuation is non physically coherent. make attenuation be quadratic by default
Definition at line 34 of file Light.hpp.
◆ constant
Scalar Ra::Engine::Scene::Light::Attenuation::constant { 1 } |
◆ linear
Scalar Ra::Engine::Scene::Light::Attenuation::linear { 0 } |
◆ quadratic
Scalar Ra::Engine::Scene::Light::Attenuation::quadratic { 0 } |
The documentation for this struct was generated from the following file:
- /home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Engine/Scene/Light.hpp