ref_soft: Alpha support for additive/glow

This commit is contained in:
mittorn 2019-04-04 10:37:41 +07:00
parent 338b404055
commit 4aa5778606

View File

@ -147,7 +147,8 @@ void _TriColor4f( float rr, float gg, float bb, float aa )
unsigned short r,g,b;
unsigned int major, minor;
if( vid.rendermode == kRenderTransAdd || vid.rendermode == kRenderGlow )
rr *= aa, gg *= aa, bb *= aa;
//gEngfuncs.Con_Printf("%d\n", vid.alpha);