Public Members |
 |  | | ddgLightModel ( ddgColor4 *a = NULL, bool t = false, bool l = false, bool c = false ) |
 |  | | Create a light model and set the ambient light. More...
|
 |  |
bool | draw ( ddgContext *ctx )
|
 |  | | Draw all elements of this group lighted.
|
 |  |
void | ambient ( ddgColor4 *col)
|
 |  | | Set the ambient light level.
|
 |  |
void | ambient ( ddgColor3 *col, unsigned char a = 255)
|
 |  | | Set the ambient light level.
|
 |  |
void | ambient ( unsigned char r, unsigned char g, unsigned char b, unsigned char a = 255)
|
 |  | | Set the ambient light level.
|
 |  |
void | local ( bool l)
|
 |  | | Set lighting calculation to perform angle math.
|
 |  |
void | twosided ( bool t)
|
 |  | | Set lighting calculation to perform angle math.
|
 |  |
void | colormaterial ( bool t)
|
 |  | | Mix current colour with material/texture color.
|
 |  |
void | state ( bool s)
|
 |  | | Set lighting on or off.
|