mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 16:50:48 +00:00
Rewrote multitexture rendering. (faster, no fullbright bugs)
This commit is contained in:
parent
d24e28f28b
commit
54648f9a93
6 changed files with 136 additions and 422 deletions
|
@ -299,8 +299,6 @@ void R_DrawSpriteModel (entity_t *e)
|
|||
else
|
||||
glColor4f(1,1,1,1);
|
||||
|
||||
GL_DisableMultitexture();
|
||||
|
||||
glBindTexture (GL_TEXTURE_2D, frame->gl_texturenum);
|
||||
|
||||
glEnable (GL_ALPHA_TEST);
|
||||
|
@ -620,8 +618,6 @@ void R_DrawAliasModel (entity_t *e)
|
|||
// draw all the triangles
|
||||
//
|
||||
|
||||
GL_DisableMultitexture();
|
||||
|
||||
glPushMatrix ();
|
||||
R_RotateForEntity (e);
|
||||
|
||||
|
@ -968,8 +964,6 @@ void R_RenderScene (void)
|
|||
|
||||
R_DrawEntitiesOnList ();
|
||||
|
||||
GL_DisableMultitexture();
|
||||
|
||||
R_RenderDlights ();
|
||||
R_UpdateFires ();
|
||||
R_DrawParticles ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue