Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
shadowmap.hpp File Reference
#include "inexor/network/SharedVar.hpp"
#include "inexor/shared/geom.hpp"

Go to the source code of this file.

Functions

bool isshadowmapcaster (const vec &o, float rad)
 
bool addshadowmapcaster (const vec &o, float xyrad, float zrad)
 
bool isshadowmapreceiver (vtxarray *va)
 
void rendershadowmap ()
 
void pushshadowmap ()
 
void popshadowmap ()
 
void rendershadowmapreceivers ()
 
void guessshadowdir ()
 

Variables

SharedVar< int > shadowmap
 
int shadowmapcasters
 
bool shadowmapping
 
matrix4 shadowmatrix
 

Function Documentation

bool addshadowmapcaster ( const vec o,
float  xyrad,
float  zrad 
)
void guessshadowdir ( )
bool isshadowmapcaster ( const vec o,
float  rad 
)

References shadowdir, shadowfocus, and SHADOWSKEW.

Referenced by cullmodel().

bool isshadowmapreceiver ( vtxarray va)
void popshadowmap ( )

References rendertarget::rendertex, shadowmap, and shadowmaptex.

Referenced by rendergeom().

void pushshadowmap ( )
void rendershadowmap ( )

References f(), rendertarget::render(), shadowmap, and shadowmaptex.

Referenced by rendergeom().

void rendershadowmapreceivers ( )

Variable Documentation

SharedVar<int> shadowmap
int shadowmapcasters
bool shadowmapping
matrix4 shadowmatrix