• Advertisement

Archived

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

another fog question...

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

how can i have per-vertex fog AND distance fog at the same time? thanks Rob

Share this post


Link to post
Share on other sites
Advertisement
The rendering of fog, depends on your implementation.
As far as I know, there is no method for setting the fog mode explicit, maybe with a fog-Hint, or an extension.

Another approach would be a vertex-shader that writes the fog-coordinate. This can be used for many more advanced fx, like volume fog.

Share this post


Link to post
Share on other sites

  • Advertisement