mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-22 11:31:16 +00:00
Hack back in support for EF_FULLBRIGHT
This commit is contained in:
parent
475cc7e0d6
commit
6b0a448ab4
1 changed files with 2 additions and 0 deletions
|
@ -4599,6 +4599,8 @@ void CL_LinkPacketEntities (void)
|
|||
ent->flags |= RF_NODEPTHTEST;
|
||||
if (state->effects & EF_NOSHADOW)
|
||||
ent->flags |= RF_NOSHADOW;
|
||||
if (state->effects & EF_FULLBRIGHT)
|
||||
ent->flags |= RF_FULLBRIGHT;
|
||||
if (state->trans < 0xfe)
|
||||
{
|
||||
ent->shaderRGBAf[3] = state->trans/(float)0xfe;
|
||||
|
|
Loading…
Reference in a new issue