Added Rendermode: RM_FULLBRIGHT

This commit is contained in:
Marco Cawthorne 2020-04-28 10:27:20 +02:00
parent 94947c89e1
commit 2a6ff3babd
2 changed files with 4 additions and 0 deletions
src/gs-entbase

View file

@ -25,6 +25,7 @@ enum
RM_GLOW,
RM_SOLID,
RM_ADDITIVE,
RM_FULLBRIGHT,
RM_TRIGGER
};

View file

@ -80,6 +80,9 @@ CBaseEntity::RenderFXPass(void)
case RM_ADDITIVE:
effects = EF_ADDITIVE | EF_FULLBRIGHT;
break;
case RM_FULLBRIGHT:
effects = EF_FULLBRIGHT;
break;
case RM_TRIGGER:
if (autocvar_cl_showtriggers) {
effects = EF_FULLBRIGHT;