From 9099d2796bf6e9a73742dc415e4560210ffef944 Mon Sep 17 00:00:00 2001 From: Eukara Date: Tue, 11 Feb 2020 23:12:33 +0000 Subject: [PATCH] Always sample lightgrid a bit higher up, because anything close to the ground usually turns pitch-black that's got a smaller bounding box. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5616 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_alias.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gl/gl_alias.c b/engine/gl/gl_alias.c index ef22ca215..1acd190e0 100644 --- a/engine/gl/gl_alias.c +++ b/engine/gl/gl_alias.c @@ -1391,7 +1391,7 @@ qboolean R_CalcModelLighting(entity_t *e, model_t *clmodel) VectorAdd(e->origin, center, center); #else VectorCopy(e->origin, center); - center[2] += 8; + center[2] += 24; #endif cl.worldmodel->funcs.LightPointValues(cl.worldmodel, center, shadelight, ambientlight, lightdir); }