Jump to content
  • Advertisement
Sign in to follow this  
gp343

OpenGL Outline Font does not work when GL_FOG is enabled

This topic is 3876 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.

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!