UFO: Alien Invasion
Loading...
Searching...
No Matches
r_surface.cpp File Reference

surface-related refresh code More...

#include "r_local.h"
#include "r_lightmap.h"
#include "r_light.h"
#include "r_error.h"
#include "r_draw.h"
Include dependency graph for r_surface.cpp:

Go to the source code of this file.

Functions

void R_SetSurfaceBumpMappingParameters (const mBspSurface_t *surf, const image_t *normalMap, const image_t *specularMap)
static void R_SetSurfaceState (const mBspSurface_t *surf)
 Set the surface state according to surface flags and bind the texture.
void R_DrawSurfaces (const mBspSurfaces_t *surfs, glElementIndex_t *indexPtr)
 General surface drawing function, that draw the surface chains.

Detailed Description

surface-related refresh code

Definition in file r_surface.cpp.

Function Documentation

◆ R_DrawSurfaces()

void R_DrawSurfaces ( const mBspSurfaces_t * surfs,
glElementIndex_t * indexPtr )

◆ R_SetSurfaceBumpMappingParameters()

◆ R_SetSurfaceState()