#include "gl_local.h"Go to the source code of this file.
Macros | |
| #define | DLIGHT_CUTOFF 64 |
Functions | |
| void | R_RenderDlight (dlight_t *light) |
| void | R_RenderDlights (void) |
| void | R_MarkLights (dlight_t *light, int bit, mnode_t *node) |
| void | R_PushDlights (void) |
| int | RecursiveLightPoint (mnode_t *node, vec3_t start, vec3_t end) |
| void | R_LightPoint (vec3_t p, vec3_t color) |
| void | R_AddDynamicLights (msurface_t *surf) |
| void | R_SetCacheState (msurface_t *surf) |
| void | R_BuildLightMap (msurface_t *surf, byte *dest, int stride) |
Variables | |
| int | r_dlightframecount |
| vec3_t | pointcolor |
| cplane_t * | lightplane |
| vec3_t | lightspot |
| static float | s_blocklights [34 *34 *3] |
| #define DLIGHT_CUTOFF 64 |
Definition at line 26 of file gl_light.c.
| void R_AddDynamicLights | ( | msurface_t * | surf | ) |
| void R_BuildLightMap | ( | msurface_t * | surf, |
| byte * | dest, | ||
| int | stride | ||
| ) |
Definition at line 455 of file gl_light.c.
Referenced by GL_CreateSurfaceLightmap(), GL_RenderLightmappedPoly(), R_BlendLightmaps(), and R_RenderBrushPoly().
Definition at line 298 of file gl_light.c.
Definition at line 164 of file gl_light.c.
Definition at line 36 of file gl_light.c.
Referenced by R_RenderDlights().
| void R_SetCacheState | ( | msurface_t * | surf | ) |
Definition at line 437 of file gl_light.c.
Referenced by GL_CreateSurfaceLightmap(), GL_RenderLightmappedPoly(), and R_RenderBrushPoly().
| cplane_t* lightplane |
Definition at line 189 of file gl_light.c.
Referenced by RecursiveLightPoint().
| vec3_t lightspot |
Definition at line 190 of file gl_light.c.
Referenced by GL_DrawAliasShadow(), and RecursiveLightPoint().
| vec3_t pointcolor |
Definition at line 188 of file gl_light.c.
Referenced by R_LightPoint(), and RecursiveLightPoint().
| int r_dlightframecount |
Definition at line 24 of file gl_light.c.
Referenced by R_MarkLights(), R_PushDlights(), and R_RenderDlights().
|
static |
Definition at line 353 of file gl_light.c.
Referenced by R_AddDynamicLights(), and R_BuildLightMap().