Jump to content
  • Advertisement


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


Scissor box and fog

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

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!