mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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
This commit is contained in:
parent
237a9e820f
commit
9099d2796b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue