Sign in to follow this  

Using Fog With Desired HEIGHT

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

Could anyone venture a hint as to how one could use fog with a random height. For example I have my camera at position 0, 5, 0. How could I make the fog height 5 to seem as though it is at eye level? Thanx in advance!

Share this post


Link to post
Share on other sites
You can check out this demo at delphi3d, it explains the concept of simple (yet nice looking) layered height fog (scroll down the list, it's heightfog.zip)

Quote:

you can also make a volume (a cube for example) and then use a 3D Texture. then make the volume transpert etc..etc..

Hmm, it's not that easy. Keep in mind that you need some kind of volumetric visualization technique to actually see the 3D texture: slicing or raytracing comes to mind. Depending on the size of the volume, this can be expensive. But this technique can look really good.

Share this post


Link to post
Share on other sites

This topic is 4866 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this