Support Forum G3D Web Page |
Public Attributes | |
vec4 | attenuation |
w element is the spotlight cutoff angle. More... | |
vec3 | color |
Power of the light. More... | |
vec3 | direction |
Spot light facing direction (unit length). More... | |
vec4 | position |
World space light position. More... | |
float | radius |
Radius of the light bulb itself; no relation to the light's effect sphere. More... | |
bool | rectangular |
Is this spotlight's field of view rectangular (instead of round)? More... | |
vec3 | right |
Object-space X axis of the light. More... | |
ShadowMap | shadowMap |
float | softnessConstant |
vec3 | up |
Object-space Y axis of the light. More... | |
vec4 glsl::Light_glsl::Light::attenuation |
w element is the spotlight cutoff angle.
vec3 glsl::Light_glsl::Light::color |
Power of the light.
vec3 glsl::Light_glsl::Light::direction |
Spot light facing direction (unit length).
Object space -z axis.
vec4 glsl::Light_glsl::Light::position |
World space light position.
float glsl::Light_glsl::Light::radius |
Radius of the light bulb itself; no relation to the light's effect sphere.
bool glsl::Light_glsl::Light::rectangular |
Is this spotlight's field of view rectangular (instead of round)?
vec3 glsl::Light_glsl::Light::right |
Object-space X axis of the light.
ShadowMap glsl::Light_glsl::Light::shadowMap |
float glsl::Light_glsl::Light::softnessConstant |
vec3 glsl::Light_glsl::Light::up |
Object-space Y axis of the light.