42 #if defined(REQUIRE_GL_ES)
52 class Video_GL_Shader;
57 struct ZENI_GRAPHICS_DLL
Light {
66 inline void set_light_type(
const LIGHT_TYPE &light_type);
67 inline void set_spot_theta(
const float &spot_theta);
68 inline void set_spot_phi(
const float &spot_phi);
70 #ifndef DISABLE_GL_FIXED
74 #ifndef DISABLE_GL_SHADER
Point3f position
The position of the Light (irrelevant for directional lights or purely ambient lights) ...
An Abstraction of a Light.
Color diffuse
The diffuse Color.
The Direct3D9 Rendering System.
float spot_theta
The angle, in radians, describing the size of the inner cone (automatically increases phi if necessar...
LIGHT_TYPE light_type
The type of the Light.
Color specular
The specular Color.
float range
The max distance reached by the light; NOT SUPPORTED BY OPENGL.
float spot_exponent
Similar to Falloff in OpenGL, describes the intensity of the Light from the inner cone to the outer c...
A 3D Point represented with floats.
float constant_attenuation
Part of the equation describing the weakening of Light over distance. Read online for more informatio...
A Featureful 3-Space Vector Class.
The OpenGL Rendering System.
The OpenGL Rendering System.
typedef DWORD(WINAPI *XInputGetState_t)(DWORD dwUserIndex
float linear_attenuation
Part of the equation describing the weakening of Light over distance. Read online for more informatio...
float spot_phi
The angle, in radians, describing the size of the outer cone (automatically decreases theta if necess...
float quadratic_attenuation
Part of the equation describing the weakening of Light over distance. Read online for more informatio...
Point3f spot_direction
The direction of the Light (relevent only to spotlights)
Color ambient
The ambient Color.