|
wx_BGI_Graphics
Classic BGI-compatible graphics API with modern OpenGL extension API
|
Lighting parameters used by the GL Phong shading passes. More...
#include <bgi_types.h>
Data Fields | |
| float | ambient {0.20f} |
| float | diffuse {0.70f} |
| float | dirX { -0.577f} |
| float | dirY { 0.577f} |
| float | dirZ {0.577f} |
| float | fillStrength {0.30f} |
| float | fillX {0.f} |
| float | fillY {-1.f} |
| float | fillZ {0.f} |
| float | shininess {32.f} |
| float | specular {0.30f} |
| bool | worldSpace {true} |
| true = world-space, false = view-space | |
Lighting parameters used by the GL Phong shading passes.
Primary light direction is normalised by the API setter. All intensities are in [0,1]; shininess is a Phong exponent (e.g. 8..256).
| float bgi::LightState::ambient {0.20f} |
| float bgi::LightState::diffuse {0.70f} |
| float bgi::LightState::dirX { -0.577f} |
| float bgi::LightState::dirY { 0.577f} |
| float bgi::LightState::dirZ {0.577f} |
| float bgi::LightState::fillStrength {0.30f} |
| float bgi::LightState::fillX {0.f} |
| float bgi::LightState::fillY {-1.f} |
| float bgi::LightState::fillZ {0.f} |
| float bgi::LightState::shininess {32.f} |
| float bgi::LightState::specular {0.30f} |
| bool bgi::LightState::worldSpace {true} |
true = world-space, false = view-space