Jump to content
  • Advertisement

Archived

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

CRACK123

Scissor box and fog

This topic is 5395 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, when I use scissor box using glScissor and fog - how would i go about using fog because to get fog to work correctly I would have to set the background color to fog color but if i do this the scissor box color also becomes the fog color but i want to keep the scissor box as black color. I am thinking of something but I think there might be a better way. I was thinking of moving into ortho mode drawing a quad with the required color so that the land would blend into that quad so that the scissor box would be unaffected. Is there a better way or is there a way to do this without affecting the color of the scissor box ? Thank you

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.

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!