r_flare.c File Reference

#include "r_local.h"
Include dependency graph for r_flare.c:

Go to the source code of this file.

Functions

void R_CreateSurfaceFlare (mBspSurface_t *surf)
void R_DrawFlareSurfaces (mBspSurfaces_t *surfs)
 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.

Function Documentation

void R_CreateSurfaceFlare ( mBspSurface_t surf  ) 
void R_DrawFlareSurfaces ( mBspSurfaces_t surfs  ) 

Generated by  doxygen 1.6.2