Hi, I'm using LWJGL via the jMonkeyEngine, and I have a general question about fog and similar effects.
I'd like to create a scene with an above water and an under water part. But when the camera goes below the water surface (a flat quad), you cannot tell you're under water -- Obviously, I need to (at least) give the water-filled area a water-colored tinge? SecondLife for example has a similar effect (I'm not even considering caustics here.)
Blue fog has the effect I need, a solid semi-transparent fill color with a fade. But fog covers the whole scene, also above the water surface... There is no way to clip fog at a certain y, is there? Or if I could have two fogs, one darkblue below, and one sky-colored above?
I don't know whether this question makes sense since I don't know how it's implemented. The jMonkeyEngine only uses the API given by LWJGL, as far as I understand, so they don't know either. If anyone has experience with this, please share a tip.