Browse Source

ref_soft: Alpha support for additive/glow

pull/2/head
mittorn 6 years ago
parent
commit
4aa5778606
  1. 3
      r_triapi.c

3
r_triapi.c

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

Loading…
Cancel
Save