Hey,
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:
i.http://imgur.com/txSqT.png
but i want to limit the water area…
my code:
[java]
water = new WaterFilter(rootNode, lightDir); //lightDir equals 0.5, 0.5, 0.5
[/java]
now i cannot use this:
[java]
water.setCenter(params);
water.setRadius(params);
[/java]
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…