Jump to content
  • Advertisement
Sign in to follow this  
gp343

OpenGL Outline Font does not work when GL_FOG is enabled

This topic is 3790 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 there, I have a Opengl program that makes use of Outline Font. The problem is, whenever I enabled FOG, my application doesn't display my output text. When I remove the 1 line - glEnable(GL_FOG);- it my text seems to display ok. I'm just curious, is there any special function calls I need to call in order to use FOG and Outline fonts in the same application? Thanks

Share this post


Link to post
Share on other sites
Advertisement
No states in OpenGL are global that must be set once and never touched again. So enable and disable fog for the parts that need or don't need it.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!