Lines Matching full:water
1 package jme3test.water;
35 import com.jme3.water.WaterFilter;
46 private WaterFilter water;
102 water = new WaterFilter(rootNode, lightDir);
106 fpp.addFilter(water);
127 water.setWaveScale(0.003f);
128 water.setMaxAmplitude(2f);
129 water.setFoamExistence(new Vector3f(1f, 4, 0.5f));
130 water.setFoamTexture((Texture2D) assetManager.loadTexture("Common/MatDefs/Water/Textures/foam2.jpg"));
131 //water.setNormalScale(0.5f);
133 //water.setRefractionConstant(0.25f);
134 water.setRefractionStrength(0.2f);
135 //water.setFoamHardness(0.6f);
137 water.setWaterHeight(initialWaterHeight);
157 water.setFoamTexture((Texture2D) assetManager.loadTexture("Common/MatDefs/Water/Textures/foam.jpg"));
160 water.setFoamTexture((Texture2D) assetManager.loadTexture("Common/MatDefs/Water/Textures/foam2.jpg"));
163 water.setFoamTexture((Texture2D) assetManager.loadTexture("Common/MatDefs/Water/Textures/foam3.jpg"));
273 //This part is to emulate tides, slightly varrying the height of the water plane
284 water.setWaterHeight(initialWaterHeight + waterHeight);
285 if(water.isUnderWater() && !uw){
290 if(!water.isUnderWater() && uw){