The small3d library
|
A 3D model material. More...
#include <Material.hpp>
Public Member Functions | |
Material () | |
Default constructor. | |
template<class Archive > | |
void | serialize (Archive &archive) |
Public Attributes | |
float | specularExponent = 0.0f |
Vec3 | ambientColour = Vec3(0.5f) |
Vec3 | diffuseColour = Vec3(0.0f) |
Vec3 | specularColour = Vec3(0.0f) |
Vec3 | emissiveCoefficient = Vec3(0.0f) |
float | optDensIndexRef = 0.0f |
Optical density / index of refraction. | |
float | alpha = 1.0f |
A 3D model material.