Jump to content
  • Advertisement

Archived

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

Zaei

Dreaded Black Fog(Again)

This topic is 6329 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 am setting up fog, seemingly correct, because on everything but my base terrain, things fade to the correct color. But, when the terrain gets fogged, it fades to black, regardless of the color set. Has anyone ever had this problem before? Anyone know what might be the problem? Lighting is on, Ambient is set, fog color is set, material is set... I just cant figure this one out. I would be very grateful for any input. Z.

Share this post


Link to post
Share on other sites
Advertisement
In my application, fog is still enabled even though I didn''t enable alpha blend, so I don''t think that would affect the fog not being displayed as well.

Are you using Pixel Fog or Vertex Fog? I''ve only been using Vertex Fog, and I tested it out before that AlphaBlending enabled would create the black fog.

Share this post


Link to post
Share on other sites
When AlphaBlending is on, the Fog is black. But, when it is off, no fog appears on the terrain at all, while it still appears on all other objects. Any hints?

Z.

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.

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!