doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
tr_light.cpp File Reference
#include "../idlib/precompiled.h"
#include "tr_local.h"

Go to the source code of this file.

Functions

bool R_CreateAmbientCache (srfTriangles_t *tri, bool needsLighting)
 
bool R_CreateLightingCache (const idRenderEntityLocal *ent, const idRenderLightLocal *light, srfTriangles_t *tri)
 
void R_CreatePrivateShadowCache (srfTriangles_t *tri)
 
void R_CreateVertexProgramShadowCache (srfTriangles_t *tri)
 
void R_SkyboxTexGen (drawSurf_t *surf, const idVec3 &viewOrg)
 
void R_WobbleskyTexGen (drawSurf_t *surf, const idVec3 &viewOrg)
 
viewEntity_tR_SetEntityDefViewEntity (idRenderEntityLocal *def)
 
viewLight_tR_SetLightDefViewLight (idRenderLightLocal *light)
 
void R_LinkLightSurf (const drawSurf_t **link, const srfTriangles_t *tri, const viewEntity_t *space, const idRenderLightLocal *light, const idMaterial *shader, const idScreenRect &scissor, bool viewInsideShadow)
 
idScreenRect R_ClippedLightScissorRectangle (viewLight_t *vLight)
 
idScreenRect R_CalcLightScissorRectangle (viewLight_t *vLight)
 
void R_AddLightSurfaces (void)
 
bool R_IssueEntityDefCallback (idRenderEntityLocal *def)
 
idRenderModelR_EntityDefDynamicModel (idRenderEntityLocal *def)
 
void R_AddDrawSurf (const srfTriangles_t *tri, const viewEntity_t *space, const renderEntity_t *renderEntity, const idMaterial *shader, const idScreenRect &scissor)
 
idScreenRect R_CalcEntityScissorRectangle (viewEntity_t *vEntity)
 
void R_AddModelSurfaces (void)
 
void R_RemoveUnecessaryViewLights (void)
 

Variables

int c_clippedLight
 
int c_unclippedLight
 

Function Documentation

void R_AddDrawSurf ( const srfTriangles_t tri,
const viewEntity_t space,
const renderEntity_t renderEntity,
const idMaterial shader,
const idScreenRect scissor 
)

Definition at line 1183 of file tr_light.cpp.

void R_AddLightSurfaces ( void  )

Definition at line 875 of file tr_light.cpp.

void R_AddModelSurfaces ( void  )

Definition at line 1460 of file tr_light.cpp.

idScreenRect R_CalcEntityScissorRectangle ( viewEntity_t vEntity)

Definition at line 1440 of file tr_light.cpp.

idScreenRect R_CalcLightScissorRectangle ( viewLight_t vLight)

Definition at line 793 of file tr_light.cpp.

idScreenRect R_ClippedLightScissorRectangle ( viewLight_t vLight)

Definition at line 713 of file tr_light.cpp.

bool R_CreateAmbientCache ( srfTriangles_t tri,
bool  needsLighting 
)

Definition at line 52 of file tr_light.cpp.

bool R_CreateLightingCache ( const idRenderEntityLocal ent,
const idRenderLightLocal light,
srfTriangles_t tri 
)

Definition at line 75 of file tr_light.cpp.

void R_CreatePrivateShadowCache ( srfTriangles_t tri)

Definition at line 140 of file tr_light.cpp.

void R_CreateVertexProgramShadowCache ( srfTriangles_t tri)

Definition at line 156 of file tr_light.cpp.

idRenderModel* R_EntityDefDynamicModel ( idRenderEntityLocal def)

Definition at line 1104 of file tr_light.cpp.

bool R_IssueEntityDefCallback ( idRenderEntityLocal def)

Definition at line 1060 of file tr_light.cpp.

void R_LinkLightSurf ( const drawSurf_t **  link,
const srfTriangles_t tri,
const viewEntity_t space,
const idRenderLightLocal light,
const idMaterial shader,
const idScreenRect scissor,
bool  viewInsideShadow 
)

Definition at line 658 of file tr_light.cpp.

void R_RemoveUnecessaryViewLights ( void  )

Definition at line 1570 of file tr_light.cpp.

viewEntity_t* R_SetEntityDefViewEntity ( idRenderEntityLocal def)

Definition at line 378 of file tr_light.cpp.

viewLight_t* R_SetLightDefViewLight ( idRenderLightLocal light)

Definition at line 458 of file tr_light.cpp.

void R_SkyboxTexGen ( drawSurf_t surf,
const idVec3 viewOrg 
)

Definition at line 193 of file tr_light.cpp.

void R_WobbleskyTexGen ( drawSurf_t surf,
const idVec3 viewOrg 
)

Definition at line 218 of file tr_light.cpp.

Variable Documentation

int c_clippedLight

Definition at line 791 of file tr_light.cpp.

int c_unclippedLight

Definition at line 791 of file tr_light.cpp.