From: havoc Date: Sat, 11 Aug 2007 10:22:39 +0000 (+0000) Subject: added a FIXME comment about r_glsl 1 not working properly with X-Git-Tag: xonotic-v0.1.0preview~2951 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=790becab64dd8a44618b28d8eda27ee9301f58f0;p=xonotic%2Fdarkplaces.git added a FIXME comment about r_glsl 1 not working properly with overbright lightstyle strings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7518 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_rmain.c b/gl_rmain.c index a2b836fa..2b079d7e 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -3484,6 +3484,7 @@ void R_UpdateTextureInfo(const entity_render_t *ent, texture_t *t) // q3bsp has no lightmap updates, so the lightstylevalue that // would normally be baked into the lightmap must be // applied to the color + // FIXME: r_glsl 1 rendering doesn't support overbright lightstyles with this (the default light style is not overbright) if (ent->model->type == mod_brushq3) colorscale *= r_refdef.lightstylevalue[0] * (1.0f / 256.0f); colorscale *= r_refdef.lightmapintensity;