UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
r_flare.h File Reference

Go to the source code of this file.

Functions

void R_CreateSurfaceFlare (mBspSurface_t *surf)
 
void R_DrawFlareSurfaces (const mBspSurfaces_t *surfs, glElementIndex_t *indexPtr)
 Flares are batched by their texture. Usually, this means one draw operation for all flares in view. Flare visibility is calculated every few millis, and flare alpha is ramped up or down depending on the results of the visibility trace. Flares are also faded according to the angle of their surface to the view origin. More...
 

Function Documentation

void R_DrawFlareSurfaces ( const mBspSurfaces_t surfs,
glElementIndex_t indexPtr 
)