X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=gl_rsurf.c;h=455f96aa9f2507d937182f39e84a86ba305e637b;hb=b45f0c657399c73644afc57aebc9cc0ec4e4ea05;hp=66657665ca88e2afcff0361c4be5a0baa3cccd22;hpb=c5fbd74f5309bae2ee6bed07bc0c069f892d167f;p=xonotic%2Fdarkplaces.git diff --git a/gl_rsurf.c b/gl_rsurf.c index 66657665..455f96aa 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -1948,6 +1948,12 @@ void R_Q3BSP_DrawFace(entity_render_t *ent, q3mface_t *face) face->visframe = r_framecount; if (r_shadow_realtime_world.integer) R_Q3BSP_DrawFace_OpaqueWall_Pass_OpaqueGlow(ent, face); + else if ((ent->effects & EF_FULLBRIGHT) || r_fullbright.integer) + { + R_Q3BSP_DrawFace_OpaqueWall_Pass_Texture(ent, face); + if (face->texture->skin.glow) + R_Q3BSP_DrawFace_OpaqueWall_Pass_Glow(ent, face); + } else if (face->lightmaptexture) { if (r_textureunits.integer >= 2 && gl_combine.integer)