View Full Version : TT
08-23-2001, 05:26 AM
how can i make any color of my tga texture transparent ???
thanks in advance...
08-23-2001, 05:43 AM
You have to turn on blending, I think.
maybe something like this:
But with blended trinagles you should proceed the following:
1. draw all non-transparent primitives
2. code above
3. draw your transparent primitives depth-sorted(furthest first, nearest last)
if primitives are texture-mapped or not doesn't matter.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.