mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-23 13:24:13 +00: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…
x
Reference in New Issue
Block a user