[solved] Filter WaterFilter problem with method setCenter()


i currently work on terrain editing with the JMP’s Terrain editor. as the next step for me i’ve tried to display water. I’ve used this tutorial: http://www.hub.jmonkeyengine.org/wiki/doku.php/jme3:advanced:post-processor_water

it works fine:


but i want to limit the water area…

my code:


water = new WaterFilter(rootNode, lightDir); //lightDir equals 0.5, 0.5, 0.5


now i cannot use this:





the same with getters…

do i need another library? thanks for help

Limiting the size of the WaterFilter was added not long ago, it should be available when you use the nightly builds.

ahh okay thanks…