transparent masks?

Started by
1 comment, last by Kyo 21 years, 7 months ago
I''m using quads to do a 2D game where a textured quad would represent an object but I was wondering, if I have my ship as a texture on a quad how would I apply a mask ontop of that to make the black around the ship transparent?
Advertisement
Look up alpha testing in the docs - if you use a format like .png you can use it as a RGBA texture with alpha test set to less-than, and a value somewhere between 0.4 and 0.6 usually looks good
OrangyTang is correct. Just wanted to add: TGA is a very easy to use format that supports alpha channels.

2DNow - Specializing in yesterday''s technology today!

This topic is closed to new replies.

Advertisement