NSRenderableEntity: rendermode RM_SOLID becomes invisible when renderamount is 0.

This commit is contained in:
Marco Cawthorne 2024-01-01 21:21:31 -08:00
parent d16e096306
commit bc05a07e50
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ NSRenderableEntity::RenderFXPass(void)
break;
case RM_SOLID:
colormod = [1,1,1];
alpha = 1.0f;
alpha = m_flRenderAmt == 0.0 ? 0.0f : 1.0f;
glowmod[0] = 0.5f;
break;
case RM_ADDITIVE: