- use vertex buffer and reuse of data for stencil drawing. A stencil needs to be drawn multiple times with the same polygons so this is a good place to optimize.

This commit is contained in:
Christoph Oelckers 2014-05-31 09:32:17 +02:00
commit c39318f406
6 changed files with 199 additions and 95 deletions

View file

@ -68,7 +68,6 @@ static inline float GetTimeFloat()
CVAR(Bool, gl_interpolate_model_frames, true, CVAR_ARCHIVE)
CVAR(Bool, gl_light_models, true, CVAR_ARCHIVE)
EXTERN_CVAR(Int, gl_fogmode)
EXTERN_CVAR(Bool, gl_dynlight_shader)
extern TDeletingArray<FVoxel *> Voxels;
extern TDeletingArray<FVoxelDef *> VoxelDefs;