Jump to content
  • Advertisement
Sign in to follow this  
breenan

3d quad transparent help?

This topic is 5471 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello all I have a 3d world that works fine, with texture maps ect... now i am trying to have a texture mapped quad, with a pic of a person, and the black around the person needs to be transparent. have checked lesson 20 on masking, but that seems to be for 2d only, as when done in 3d, as depth testhing is desabled, the pic appers behind everything, and if you turn depth testing on, the pic has a black square around it... is there a way to do this??? (doom 1, is an example i think, where the people are 2d, and the game is 3d??? hope this makes sence... thank you for any help.

Share this post


Link to post
Share on other sites
Advertisement
Id say this is not a problem with your code but your image.
Ive had this a couple times too.
1.) try using photoshop or the like and use the fill bucket with black once or twice on the black region.
This will insure its absolutely black.
2.) if this doesnt work make the background white and make sure its really white. Oddly enough ive never had the problem in white.

-CProgrammer

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!