Fog density

Previous topic - Next topic

MrTAToad

There doesn't seem to be much difference for fog density from 0.2 to 1.0...

Kitty Hello

what EXP-mode? 1?
I just call:
   glFogf(GL_FOG_MODE, GL_EXP); glFogf(GL_FOG_DENSITY, p1);

MrTAToad

#2
I was using Exponential mode - I presume that is Exp 1 :) 

It's possible it only works (well) with shades of a value - I'll see what grey looks like...

It still requires only very,very small numbers before the fog density blocks out everything...

I've currently writing a program to use almost* all the X_ commands.  I hope to have something ready later on

*everything except shaders :)

mentalthink

#3
MrTatoad, only for advice, now I don´t know if works well, but the exponential Fog , only runs well in iPhone, when I tested , in Palm pre, and Android don´t runs for me sometime ago, happends something similar whit the Bump Texture...  :'(

Another point, when I test the exponential Fog, in mobile devices, depend of the total number of polys it´s very Slow... I think in a alternative, but I´m not sure how look it´s, but I think have to be more quickly... I thinked in put 4 o 6 planes in the background, and use alphamode whit fog texture, making each plane more far from the camera more opaque... perhaps whit this can be done, a good fake Fog FX...