Loading [MathJax]/extensions/TeX/AMSmath.js
Radium Engine  1.5.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Ra::Engine::Scene::Light::Attenuation Struct Reference

#include <Engine/Scene/Light.hpp>

+ Collaboration diagram for Ra::Engine::Scene::Light::Attenuation:

Public Attributes

Scalar constant { 1 }
 
Scalar linear { 0 }
 
Scalar quadratic { 0 }
 

Detailed Description

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.


The documentation for this struct was generated from the following file: