material settings, dynamic shader creation More...
#include "texture.h"
Go to the source code of this file.
Classes | |
class | TMaterial |
hold all material properties necessary to create dynamic shader - light models textures and colors More... | |
Defines | |
#define | BUFFER 512 |
Aligned buffer size. | |
Functions | |
const TVector | white (1.0f, 1.0f, 1.0f) |
white color | |
const TVector | black (0.0f, 0.0f, 0.0f) |
black color | |
const TVector | dgrey (0.1f, 0.1f, 0.1f) |
dark grey color | |
const TVector | grey (0.3f, 0.3f, 0.3f) |
grey color | |
const TVector | lgrey (0.5f, 0.5f, 0.5f) |
light grey color | |
const TVector | silver (0.7f, 0.7f, 0.7f) |
silver color | |
const TVector | red (1.0f, 0.0f, 0.0f) |
red color | |
const TVector | green (0.0f, 1.0f, 0.0f) |
green color | |
const TVector | blue (0.0f, 0.0f, 1.0f) |
blue color | |
const TVector | yellow (1.0f, 1.0f, 0.0f) |
yellow color | |
const TVector | magenta (1.0f, 0.0f, 1.0f) |
magenta color | |
const TVector | cyan (0.0f, 1.0f, 1.0f) |
cyan color |
material settings, dynamic shader creation