WaterFilter fixed some remaining m_ stuff

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7652 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 14 years ago
parent 1cea8d81fc
commit 1ad174f7b5
  1. 8
      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);
}
}
}

Loading…
Cancel
Save