From 0052176c31d28b057c6f0d32042fc924ee7b8107 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 6 Dec 2008 20:17:40 +0000 Subject: [PATCH] brighten up the averaged texture value by factor 2 to make it look right git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8569 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gl_rmain.c b/gl_rmain.c index e47f2bda..be2c8d4e 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -6534,6 +6534,11 @@ static void R_ProcessTextureSurfaceList(int texturenumsurfaces, msurface_t **tex c[3] = 1; } + // brighten it up (as texture value 127 means "unlit") + c[0] *= 2; + c[1] *= 2; + c[2] *= 2; + if (rsurface.texture->currentskinframe->pants || rsurface.texture->currentskinframe->shirt) { c[0] = rsurface.colormap_pantscolor[0] * 0.3 + rsurface.colormap_shirtcolor[0] * 0.7; -- 2.39.2