SimpleGL
1.1.0
A framework for platform independent rendering
|
This structure defines a material. More...
#include <lighting.hpp>
Public Attributes | |
glm::vec4 | ambient |
The ambient reflection factor. More... | |
glm::vec4 | diffuse |
The diffuse reflection factor. More... | |
glm::vec4 | specular |
The specular reflection factor. More... | |
float | shininess |
The Phong-Exponent. More... | |
glm::vec4 | emission |
The Self-Illuminance. More... | |
This structure defines a material.
Definition at line 20 of file lighting.hpp.
glm::vec4 sgl::Material::ambient |
The ambient reflection factor.
Definition at line 23 of file lighting.hpp.
glm::vec4 sgl::Material::diffuse |
The diffuse reflection factor.
Definition at line 26 of file lighting.hpp.
glm::vec4 sgl::Material::emission |
The Self-Illuminance.
Definition at line 35 of file lighting.hpp.
float sgl::Material::shininess |
The Phong-Exponent.
Definition at line 32 of file lighting.hpp.
glm::vec4 sgl::Material::specular |
The specular reflection factor.
Definition at line 29 of file lighting.hpp.