Using Fog With Desired HEIGHT
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!
you can also make a volume (a cube for example) and then use a 3D Texture. then make the volume transpert etc..etc..
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)
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.
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.
ive done volumetric fog before with a 2d projected texture
http://uk.geocities.com/sloppyturds/gotterdammerung.html
http://uk.geocities.com/sloppyturds/gotterdammerung.html
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement