- 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:
parent
a1ec6ab1ba
commit
c39318f406
6 changed files with 199 additions and 95 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue