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_s::color |
Definition at line 31 of file r_light.h.
Referenced by BuildLights(), GatherSampleLight(), R_AddLight(), R_AddStaticLight(), R_AddSustainedLight(), R_EnableModelLights(), R_EnableWorldLights(), R_RenderFrame(), R_SetupSpotLight(), and R_UpdateSustainedLights().
vec3_t light_s::color |
the color (RGB) of the light
Definition at line 280 of file lightmap.cpp.
float light_s::intensity |
brightness
Definition at line 278 of file lightmap.cpp.
Referenced by BuildLights(), FinalLightFace(), and GatherSampleLight().
struct light_s* light_s::next |
next light in the chain
Definition at line 275 of file lightmap.cpp.
Referenced by BuildLights(), and GatherSampleLight().
vec3_t light_s::normal |
spotlight direction
Definition at line 281 of file lightmap.cpp.
Referenced by AddBrushBevels(), BuildFacelights(), BuildLights(), GatherSampleLight(), and PlaneFromPoints().
vec3_t light_s::origin |
the origin of the light
Definition at line 30 of file r_light.h.
Referenced by BuildLights(), GatherSampleLight(), R_AddLight(), R_AddStaticLight(), R_AddSustainedLight(), R_EnableModelLights(), R_EnableWorldLights(), R_RenderFrame(), R_SetupSpotLight(), R_UpdateLightList(), and R_UpdateSustainedLights().
float light_s::radius |
Definition at line 32 of file r_light.h.
Referenced by R_AddLight(), R_AddStaticLight(), R_AddSustainedLight(), R_EnableModelLights(), R_EnableWorldLights(), R_RenderFrame(), R_SetupSpotLight(), R_UpdateLightList(), and R_UpdateSustainedLights().
float light_s::stopdot |
spotlights cone
Definition at line 282 of file lightmap.cpp.
Referenced by BuildLights(), and GatherSampleLight().
emittype_t light_s::type |
light type
Definition at line 276 of file lightmap.cpp.
Referenced by BuildLights(), and GatherSampleLight().