Thanks omega.
----- Original Message -----
From: omega
Sent: Tuesday, February 13, 2001 12:50 AM
Subject: Re: [hlcoders] TriAPI Transparency

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.
 
 
-omega
Blackened Interactive
http://www.nofadz.com/blackened
----- Original Message -----
Sent: Monday, November 12, 2001 10:25 PM
Subject: [hlcoders] TriAPI Transparency

What value must I change inorder to increase the transparency of a TriAPI triangle?

Reply via email to