mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Fix alias models in non-mtex fog.
It turns out that due to the way we do fullbrights, nothing special needs to be done to get the fullbright texture blended with the model even when fog is enabled.
This commit is contained in:
parent
8e531a58c2
commit
b05be59ea0
1 changed files with 0 additions and 4 deletions
|
@ -769,9 +769,7 @@ R_DrawAliasModel (entity_t *e)
|
|||
qfglColor4fv (e->colormod);
|
||||
|
||||
qfglBindTexture (GL_TEXTURE_2D, fb_texture);
|
||||
Fog_StartAdditive ();
|
||||
GL_DrawAliasFrameTri (vo);
|
||||
Fog_StopAdditive ();
|
||||
|
||||
if (gl_vector_light->int_val) {
|
||||
qfglEnable (GL_LIGHTING);
|
||||
|
@ -791,9 +789,7 @@ R_DrawAliasModel (entity_t *e)
|
|||
qfglColor4fv (e->colormod);
|
||||
|
||||
qfglBindTexture (GL_TEXTURE_2D, fb_texture);
|
||||
Fog_StartAdditive ();
|
||||
GL_DrawAliasFrame (vo);
|
||||
Fog_StopAdditive ();
|
||||
|
||||
if (gl_vector_light->int_val) {
|
||||
qfglEnable (GL_LIGHTING);
|
||||
|
|
Loading…
Reference in a new issue