Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Droppie

Fonts

This topic is 6002 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

Hi all, Although there are plenty of tutorials by Nehe on fonts, I still have a problem. I am trying to make a 2D game (for the moment) and I want to print text on it. I used the examples with the Font bitmaps. But when I print those their background stays black, right on top of my graphics So, how can you tell OpenGL which color of a texture is transparent? Or do I need to add an inverse texture of the font bitmap like in tutorial 21? Or do I need to use CreateFont() as in tutorial 15? (Personally, I think it's too platform dependent, but if that's the way to go) /Droppie Edited by - droppie on January 13, 2002 3:13:28 PM Edited by - droppie on January 13, 2002 3:14:00 PM Edited by - droppie on January 13, 2002 3:14:36 PM

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!