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