Fix green/etc fullbrights

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5359 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2018-12-06 07:11:04 +00:00
parent 486b1aa722
commit 484d4d216e

View file

@ -4201,6 +4201,10 @@ void CL_LinkPacketEntities (void)
ent->shaderRGBAf[1] = (state->colormod[1]*8.0f)/256;
ent->shaderRGBAf[2] = (state->colormod[2]*8.0f)/256;
}
if (state->colormod[0] == 32 && state->colormod[1] == 32 && state->colormod[2] == 32)
VectorSet(ent->glowmod, 1, 1, 1);
else
VectorScale(state->glowmod, 1/255.0, ent->glowmod);
#ifdef PEXT_FATNESS
//set trans