anchor.diff:  
   == Sample Code
   
  -There are two test cases in the jME3 repository:
  -
  -*  link:http://code.google.com/p/jmonkeyengine/source/browse/trunk/engine/src/test/jme3test/water/TestPostWater.java[jme3/src/test/jme3test/water/TestPostWater.java] (ocean island)
  -*  link:http://code.google.com/p/jmonkeyengine/source/browse/trunk/engine/src/test/jme3test/water/TestPostWaterLake.java[jme3/src/test/jme3test/water/TestPostWaterLake.java] (calm and muddy water pond)
  -*  link:http://code.google.com/p/jmonkeyengine/source/browse/trunk/engine/src/test/jme3test/water/TestMultiPostWater.java[jme3/src/test/jme3test/water/TestMultiPostWater.java] (several ponds of different sizes at different heights etc)
  +These are test cases in the jME3 repository:
  +
  +*  link:https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-examples/src/main/java/jme3test/water/TestPostWater.java[jme3/src/test/jme3test/water/TestPostWater.java] (ocean island)
  +*  link:https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-examples/src/main/java/jme3test/water/TestPostWaterLake.java[jme3/src/test/jme3test/water/TestPostWaterLake.java] (calm and muddy water pond)
  +*  link:https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-examples/src/main/java/jme3test/water/TestMultiPostWater.java[jme3/src/test/jme3test/water/TestMultiPostWater.java] (several ponds of different sizes at different heights etc)
   
   
   === Using the Water Filter
  
positive.code: 
  The awesome SeaMonkey WaterFilter is highly configurable. It can render any type of water and also simulates the underwater part of the effect, including light effects called caustics. The effect is based on link:http://www.gamedev.net/page/reference/index.html/_//feature/fprogramming/rendering-water-as-a-post-process-effect-r2642[Wojciech Toman’s Rendering Water as a Post-process Effect] published on gamedev.net. Here's a video:
  
  link:http://www.youtube.com/watch?v=AWlUzgRN3Pc[
  image::jme3/advanced/water-post.png[water-post.png,width="",height="",align="center"]
  ]
  
  
  [NOTE]
  
negative.code: a|The three values describe what depth foam starts to fade out, at what depth it is completely invisible, at what height foam for waves appears (+ waterHeight).
  a|Vector3f(0.45f,4.35f,1.0f)
  
  a|water.setFoamTexture( (Texture2D) +
  manager.loadTexture(“Textures/foam.png) )
  a|This foam texture will be used with WrapMode.Repeat
  a|“Common/MatDefs/Water/Textures/foam.jpg
  
  |===
  
  [cols="3", options="header"]
  |===
  
  