mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-16 06:00:33 +01:00
ref_soft: Alpha support for additive/glow
This commit is contained in:
parent
338b404055
commit
4aa5778606
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user