Ok, at least I can reproduce it now :-)
I've made an altered sample.world. Just added a lake and some mountains around it. I've loaded it with the Camera Modes.cpp tutorial, so that I can walk around a bit. Also changed the update function like this:
PHP Code:
Bool Update()
{
if(Kb.bp(KB_ESC))return false;
if (Kb.bp(KB_1)) Water.draw = true;
if (Kb.bp(KB_2)) Water.draw = false;
Game::World.update(Cam.at);
UpdateCamera();
return true;
}
It seems that if I draw the ocean, reflections do not appear on the lake plane. If no ocean is drawn, the lake plane has the reflections.
A few further experiments have made it clear to me that in both cases, the reflections *are* drawn. Only, when an ocean is drawn, reflections are drawn in relation to the ocean plane. You can see this if you draw a lake just above ocean level. The reflections will be there, but they appear a bit too far down. But of course if you have your lake a bit more up on the y axis, that won't be visible any more.
So now the question is, are we supposed to use ocean OR lake/river and have reflection? Or should we be able to do both? (Or is this perhaps happening only on my ATI video card?)
I've included my version of sample.world.
sample.world.7z (Size: 55.53 KB / Downloads: 8)
(I've only levelled it a bit more, made some hills that would be reflected, and added a lake surface.)