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:
parent
e26c86c794
commit
107b3f2b88
engine/src/core-effects
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user