TextureArray custom texture problem

Hey,



TestTextureArray, → when i load my own texture into the texture array it fills everything with the same texture.



for example this shows 2 different textures:



Texture tex1 = assetManager.loadTexture(“Textures/Terrain/Pond/Pond.jpg”);

Texture tex2 = assetManager.loadTexture(“Textures/Terrain/Rock2/rock.jpg”);



http://img3.imageshack.us/img3/6561/example1x.jpg



this shows only the weed texture:



Texture tex1 = assetManager.loadTexture(“Textures/weed_texture.jpg”);

Texture tex2 = assetManager.loadTexture(“Textures/Terrain/Rock2/rock.jpg”);



http://img837.imageshack.us/img837/1809/weeeeed.jpg



any idea what im doing wrong / why this happens?

Both textures must have the same format and resolution

1 Like

weed_texture Xd ^^

1 Like

ok thanks :slight_smile: