Advertisement

Fog !

Started by August 24, 2001 06:18 PM
6 comments, last by penetrator 23 years, 5 months ago
I''m using fog in GL_LINEAR mode over a terrain map: everything works fine, but in direction of the 4 terrain corners, some terrain is behind the fog, because fog is rendered always at the same distance from the origin. There is a workaround to this ? Did i explain it right ? :-) glHorizon_Project

www.web-discovery.net

Yeah, use Vertex fog instead of Linear fog. Sorry I dont have much details on this.. I think I actually read about this on Microsofts Dev Network website.
Advertisement
there is an extension (for nvidia cards) see my site nv_fog_range
zedzeek, i tried your tutorials but does the extension work with GL_LINEAR mode ? or is meant to work only n GL_EXP and GL_EXP2 ?

glHorizon_Project



www.web-discovery.net


yes i use it with GL_LINEAR
ok, but then nothing changes using or not the extension : fog is always rendered linearly. Of course my card is a geforce ...

glHorizon_Project



www.web-discovery.net


Advertisement
ok, but then nothing changes using or not the extension : fog is always rendered linearly. Of course my card is a geforce ...

glHorizon_Project



www.web-discovery.net


it should work
theres also a better example with the nvidia effects brouwser (with rotating cubes) try that

This topic is closed to new replies.

Advertisement