11 #include <glm/glm.hpp> This structure defines a material.
float quadratic
The quadratic attenuation.
glm::vec4 ambient
The ambient reflection factor.
glm::vec4 specular
The specular reflection factor.
glm::vec4 ambient
The ambient reflection factor.
float constant
The constant attenuation.
glm::vec4 position
The light position.
float exponent
The spot exponent.
glm::vec4 specular
The specular reflection factor.
Generic namespace for the SimpleGL framework.
This structure defines a light.
glm::vec4 diffuse
The diffuse reflection factor.
glm::vec3 direction
The spot direction.
float cutOff
The spot angle, in degrees.
float linear
The linear attenuation.
float shininess
The Phong-Exponent.
glm::vec4 emission
The Self-Illuminance.
glm::vec4 diffuse
The diffuse reflection factor.