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

Go to the source code of this file.

Classes

struct  shadowTri_t
 
struct  shadowOptEdge_s
 
struct  silQuad_s
 
struct  silPlane_t
 

Typedefs

typedef struct shadowOptEdge_s shadowOptEdge_t
 
typedef struct silQuad_s silQuad_t
 

Functions

void GenerateSilPlanes (void)
 
optimizedShadow_t SuperOptimizeOccluders (idVec4 *verts, glIndex_t *indexes, int numIndexes, idPlane projectionPlane, idVec3 projectionOrigin)
 
void CleanupOptimizedShadowTris (srfTriangles_t *tri)
 
srfTriangles_tCreateLightShadow (optimizeGroup_t *shadowerGroups, const mapLight_t *light)
 

Typedef Documentation

typedef struct silQuad_s silQuad_t

Function Documentation

void CleanupOptimizedShadowTris ( srfTriangles_t tri)

Definition at line 1137 of file shadowopt3.cpp.

srfTriangles_t* CreateLightShadow ( optimizeGroup_t shadowerGroups,
const mapLight_t light 
)

Definition at line 1220 of file shadowopt3.cpp.

void GenerateSilPlanes ( void  )

Definition at line 533 of file shadowopt3.cpp.

optimizedShadow_t SuperOptimizeOccluders ( idVec4 verts,
glIndex_t indexes,
int  numIndexes,
idPlane  projectionPlane,
idVec3  projectionOrigin 
)

Definition at line 1009 of file shadowopt3.cpp.