![]() |
Divide Framework 0.1
A free and open-source 3D Framework under heavy development
|
#include <LightPool.h>
Public Attributes | |
FColour4 | _diffuse = { DefaultColours::WHITE.rgb, 0.0f } |
vec4< F32 > | _position = { 0.0f, 0.0f, 0.0f, 0.0f } |
vec4< F32 > | _direction = { 0.0f, 0.0f, 0.0f, 45.0f } |
vec4< I32 > | _options = { 3, -1, 0, 0 } |
Definition at line 61 of file LightPool.h.
FColour4 Divide::LightPool::LightProperties::_diffuse = { DefaultColours::WHITE.rgb, 0.0f } |
rgb = diffuse w = cosOuterConeAngle;
Definition at line 64 of file LightPool.h.
xyz = light direction (spot and directional lights only. (0,0,0) for point) w = spot angle
Definition at line 70 of file LightPool.h.
x = light type: 0 - directional, 1 - point, 2 - spot, 3 - none y = shadow index (-1 = no shadows) z = reserved w = reserved
Definition at line 75 of file LightPool.h.
light position ((0,0,0) for directional lights) w = range
Definition at line 67 of file LightPool.h.