Jump to content
  • Advertisement

Archived

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

kmaz

Textured Fonts

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

I read the tutorial on textured fonts on the page, and tried to apply it to my project. When i did it made everything textured. Is there a way to only texture the text, and not anything else? Thanks -Ken Maz

Share this post


Link to post
Share on other sites
Advertisement
After you have drawn the text, turn texturing back off.
So something like this:

glEnable(GL_TEXTURE_2D);
DrawText("blah");
glDisable(GL_TEXTURE_2D);

Share this post


Link to post
Share on other sites

  • 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!