The small3d library
Tiny C++ 3D game development library for Win/MacOS/Linux/FreeBSD
Loading...
Searching...
No Matches
small3d::Material Class Reference

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
 

Detailed Description

A 3D model material.


The documentation for this class was generated from the following files: