|
when you draw your triangle, set the color and
transparency with Color4f. but make sure you set a rendermode before your tri
begin call
an example:
gEngfuncs.pTriAPI->Color4f( p->m_flColor[0],
p->m_flColor[1], p->m_flColor[2], p->m_flTrans/255);
last value is alpha.
|
- [hlcoders] TriAPI Transparency Miguel Aleman
- Re: [hlcoders] TriAPI Transparency omega
- Re: [hlcoders] TriAPI Transparency Miguel Aleman

