From 790becab64dd8a44618b28d8eda27ee9301f58f0 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 11 Aug 2007 10:22:39 +0000 Subject: [PATCH] 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 --- gl_rmain.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2