diff --git a/engine/src/desktop-fx/com/jme3/water/WaterFilter.java b/engine/src/desktop-fx/com/jme3/water/WaterFilter.java index ce2c06cd4..9ecaf05e2 100644 --- a/engine/src/desktop-fx/com/jme3/water/WaterFilter.java +++ b/engine/src/desktop-fx/com/jme3/water/WaterFilter.java @@ -270,7 +270,7 @@ public class WaterFilter extends Filter { material.setFloat("ReflectionDisplace", reflectionDisplace); material.setFloat("FoamIntensity", foamIntensity); material.setFloat("UnderWaterFogDistance", underWaterFogDistance); - material.setFloat("m_CausticsIntensity", causticsIntensity); + material.setFloat("CausticsIntensity", causticsIntensity); } @@ -883,7 +883,7 @@ public class WaterFilter extends Filter { public void setFoamIntensity(float foamIntensity) { this.foamIntensity = foamIntensity; if (material != null) { - material.setFloat("m_FoamIntensity", foamIntensity); + material.setFloat("FoamIntensity", foamIntensity); } } @@ -932,7 +932,7 @@ public class WaterFilter extends Filter { public void setUnderWaterFogDistance(float underWaterFogDistance) { this.underWaterFogDistance = underWaterFogDistance; if (material != null) { - material.setFloat("m_UnderWaterFogDistance", underWaterFogDistance); + material.setFloat("UnderWaterFogDistance", underWaterFogDistance); } } @@ -951,7 +951,7 @@ public class WaterFilter extends Filter { public void setCausticsIntensity(float causticsIntensity) { this.causticsIntensity = causticsIntensity; if (material != null) { - material.setFloat("m_CausticsIntensity", causticsIntensity); + material.setFloat("CausticsIntensity", causticsIntensity); } } }