|
gramods
|
Data struct for material data used in the obj file rendering. More...
#include <ObjRenderer.hh>

Public Attributes | |
| Eigen::Vector3f | color_ambient |
| Eigen::Vector3f | color_diffuse |
| Eigen::Vector3f | color_specular |
| Eigen::Vector3f | color_emissive |
| float | shininess |
| Shininess, i.e. More... | |
| std::shared_ptr< gmGraphics::ImageTexture > | texture_ambient = 0 |
| std::shared_ptr< gmGraphics::ImageTexture > | texture_diffuse = 0 |
| std::shared_ptr< gmGraphics::ImageTexture > | texture_specular = 0 |
| std::shared_ptr< gmGraphics::ImageTexture > | texture_emissive = 0 |
Data struct for material data used in the obj file rendering.
The texture color value for each material component (texture_X) is multiplied with the corresponding color vector (color_X) before adding its contribution to the raster color.
| float gramods::gmGraphics::ObjRenderer::Material::shininess |
Shininess, i.e.
the exponent of the specular highlights. Default 32.