TerrainSplatting (resize Texture)

Hello,

I am trying to splatting my terrain and have encountered a problem:





(in the left upper corner is the alpha pic I used, I am using the same code like in TestTerrainSplatting(or TestIsland respectively).)



How do I resize the tiles  :?

Check out TestProceduralSplatTexture



pst.addSplatTexture(new ImageIcon(TestProceduralSplatTexture.class.getClassLoader().getResource(
               "jmetest/data/texture/terrainTex.png")), new ImageIcon(TestProceduralSplatTexture.class.getClassLoader().getResource(
               "jmetest/data/texture/water.png")));

thank you very much, this works fine and is less complicated  :smiley: