Modify normal map to use png instead of dds to enable running on Android

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10514 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
iwg..om 2013-04-06 04:20:00 +00:00
parent e26c86c794
commit 107b3f2b88
2 changed files with 18 additions and 18 deletions
engine/src/core-effects
Common/MatDefs/Water/Textures
com/jme3/water

Binary file not shown.

After

(image error) Size: 74 KiB

@ -268,7 +268,7 @@ public class SimpleWaterProcessor implements SceneProcessor {
}
protected void loadTextures(AssetManager manager) {
normalTexture = (Texture2D) manager.loadTexture("Common/MatDefs/Water/Textures/water_normalmap.dds");
normalTexture = (Texture2D) manager.loadTexture("Common/MatDefs/Water/Textures/water_normalmap.png");
dudvTexture = (Texture2D) manager.loadTexture("Common/MatDefs/Water/Textures/dudv_map.jpg");
normalTexture.setWrap(WrapMode.Repeat);
dudvTexture.setWrap(WrapMode.Repeat);