RealisticWaterSceneNode icon indicating copy to clipboard operation
RealisticWaterSceneNode copied to clipboard

Water glitched out in OpenGL

Open Thiefbrain opened this issue 10 years ago • 2 comments

I have an isuse with the OpenGL version of the shader. The terrain and the water is both scaled to the same size, but as soon as I move away from the terrain, the water looks glitched I'm using Irrlicht 1.8.3 with OpenGL 4.5 and GLSL 4.4; Since I have no DirectX 9 SDK installed I'm not able to test it with DirectX.

irrlicht_water

Thiefbrain avatar Oct 21 '15 17:10 Thiefbrain

Please upload the code (a sample that this can be repeated), so that this can be confirmed.

elnormous avatar Oct 21 '15 17:10 elnormous

It can also be reproduced by adding the source files and the following lines to the TerrainRendering-Sample of the Irrlicht engine

    RealisticWaterSceneNode* node = new RealisticWaterSceneNode(smgr, 1024, 1024, core::stringc(), core::dimension2du(1024, 1024), smgr->getRootSceneNode());
    node->setScale(core::vector3df(40, 10, 40));
    node->setPosition(core::vector3df(0, 50, 0));

I've inserted them after the DynamicMeshBuffer around line 215.

Thiefbrain avatar Oct 27 '15 17:10 Thiefbrain