Dreaded Black Fog(Again)

Started by
4 comments, last by Zaei 22 years, 8 months ago
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.
______________"Evil is Loud"
Advertisement
Fading to black seems to occur when you enable AlphaBlending. Try turning it off and see if it works.
Now there isn''t any fog at all =(.

Z.
______________"Evil is Loud"
Anyone?

Z.
______________"Evil is Loud"
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.
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.
______________"Evil is Loud"

This topic is closed to new replies.

Advertisement