]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
added a FIXME comment about r_glsl 1 not working properly with
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Aug 2007 10:22:39 +0000 (10:22 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Aug 2007 10:22:39 +0000 (10:22 +0000)
overbright lightstyle strings

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7518 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index a2b836fa1ca158cbfd5d4d198c351a30ee4cbe45..2b079d7edc37776e9c473c3f3f8ad84e4b89918b 100644 (file)
@@ -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;