shader light class More...
#include <OglShapeRenderer.hh>
Public Member Functions | |
ShaderLight () | |
void | Clear () |
clear the current light shader More... | |
Public Attributes | |
glm::vec4 | pos |
light position More... | |
glm::vec3 | color |
light color More... | |
glm::vec3 | attenuation |
attenuation More... | |
float | ambientCoef |
ambient coefficient More... | |
float | coneCosAngle |
cone opening angle More... | |
glm::vec3 | coneDir |
cone direction More... | |
float | shadowBias |
shadow bias More... | |
MbsLight * | light |
pointer to the related 'MbsLight' component More... | |
shader light class
|
inline |
|
inline |
clear the current light shader
float ambientCoef |
ambient coefficient
glm::vec3 attenuation |
attenuation
glm::vec3 color |
light color
float coneCosAngle |
cone opening angle
glm::vec3 coneDir |
cone direction
MbsLight* light |
pointer to the related 'MbsLight' component
glm::vec4 pos |
light position
float shadowBias |
shadow bias