GLUS
|
Structure for holding material data. More...
#include <glus_wavefront.h>
Structure for holding material data.
GLUSfloat ambient[4] |
Ambient color.
GLUSchar ambientTextureFilename[GLUS_MAX_STRING] |
Ambient color texture filename.
GLUSuint ambientTextureName |
Can be used to store the ambient texture name.
GLUSchar bumpTextureFilename[GLUS_MAX_STRING] |
Bump texture filename.
GLUSuint bumpTextureName |
Can be used to store the bump texture name.
GLUSfloat diffuse[4] |
Diffuse color.
GLUSchar diffuseTextureFilename[GLUS_MAX_STRING] |
Diffuse color texture filename.
GLUSuint diffuseTextureName |
Can be used to store the diffuse texture name.
GLUSfloat emissive[4] |
Emissive color.
GLUSchar emissiveTextureFilename[GLUS_MAX_STRING] |
Emissive color texture filename.
GLUSuint emissiveTextureName |
Can be used to store the emissive texture name.
GLUSfloat indexOfRefraction |
Index of refraction.
GLUSchar name[GLUS_MAX_STRING] |
Name of the material.
GLUSboolean reflection |
Reflection.
GLUSboolean refraction |
Refraction.
GLUSfloat shininess |
Shininess.
GLUSfloat specular[4] |
Specular color.
GLUSchar specularTextureFilename[GLUS_MAX_STRING] |
Specular color texture filename.
GLUSuint specularTextureName |
Can be used to store the specular texture name.
GLUSfloat transparency |
Transparency, which is the alpha value.
GLUSchar transparencyTextureFilename[GLUS_MAX_STRING] |
Transparency texture filename.
GLUSuint transparencyTextureName |
Can be used to store the transparency texture name.