|
UFO: Alien Invasion
|
a light source More...
#include <r_light.h>

Data Fields | |
| vec3_t | origin |
| vec4_t | color |
| float | radius |
| struct light_s * | next |
| emittype_t | type |
| float | intensity |
| vec3_t | color |
| vec3_t | normal |
| float | stopdot |
| vec4_t light_t::color |
Definition at line 31 of file r_light.h.
Referenced by BuildLights(), GatherSampleLight(), R_AddStaticLight(), R_AddSustainedLight(), R_EnableModelLights(), R_EnableWorldLights(), R_RenderFrame(), R_SetupSpotLight(), and R_UpdateSustainedLights().
| vec3_t light_t::color |
the color (RGB) of the light
Definition at line 280 of file lightmap.cpp.
| float light_t::intensity |
brightness
Definition at line 278 of file lightmap.cpp.
Referenced by BuildLights(), and GatherSampleLight().
| struct light_s* light_t::next |
next light in the chain
Definition at line 275 of file lightmap.cpp.
Referenced by BuildLights(), and GatherSampleLight().
| vec3_t light_t::normal |
spotlight direction
Definition at line 281 of file lightmap.cpp.
Referenced by BuildLights(), and GatherSampleLight().
| vec3_t light_t::origin |
the origin of the light
Definition at line 30 of file r_light.h.
Referenced by BuildLights(), GatherSampleLight(), R_AddStaticLight(), R_AddSustainedLight(), R_DrawAliasModel(), R_EnableModelLights(), R_EnableWorldLights(), R_RenderFrame(), R_SetupSpotLight(), R_UpdateLightList(), and R_UpdateSustainedLights().
| float light_t::radius |
Definition at line 32 of file r_light.h.
Referenced by R_AddStaticLight(), R_AddSustainedLight(), R_EnableModelLights(), R_EnableWorldLights(), R_RenderFrame(), R_SetupSpotLight(), R_UpdateLightList(), and R_UpdateSustainedLights().
| float light_t::stopdot |
spotlights cone
Definition at line 282 of file lightmap.cpp.
Referenced by BuildLights(), and GatherSampleLight().
| emittype_t light_t::type |
light type
Definition at line 276 of file lightmap.cpp.
Referenced by BuildLights(), and GatherSampleLight().