09-02-2001, 06:32 PM
Hi,
Im trying to use a texture (loaded bitmap, and I set the white pixels Alpha's to zero,therefore they are transaprent). Ive wrapped it around a quad ( Im actually creating a 2d game, and drawPixels is HORRIBLY sloooow,so I breifly read a few posts here and saw a mention of how using texturing and quads is much faster). However,
how do I disable the acual quad color? Ive tried to set its alpha value to zero, however my texture then dissapears. Setting it to black defeats the purpose since you still have a black rectangle covering whatever is going to be behind it? I assume it has something to do with the texturing properties but Im having difficulty figuring it out...please help..thanx.
Im trying to use a texture (loaded bitmap, and I set the white pixels Alpha's to zero,therefore they are transaprent). Ive wrapped it around a quad ( Im actually creating a 2d game, and drawPixels is HORRIBLY sloooow,so I breifly read a few posts here and saw a mention of how using texturing and quads is much faster). However,
how do I disable the acual quad color? Ive tried to set its alpha value to zero, however my texture then dissapears. Setting it to black defeats the purpose since you still have a black rectangle covering whatever is going to be behind it? I assume it has something to do with the texturing properties but Im having difficulty figuring it out...please help..thanx.