Texture rendering problem

I’m developing simple billiards game and I’ve faced a problem with texture rendering. I’ve created room box using TriMeshes and put texture on them:



[java]

TextureState ts = renderer.createTextureState();



Texture t = TextureManager.loadTexture(textureWallURL,

Texture.MinificationFilter.BilinearNearestMipMap,

Texture.MagnificationFilter.Bilinear);

t.setWrap(Texture.WrapMode.Repeat);

t.setApply(ApplyMode.Replace);

ts.setTexture(t);



TriMesh mesh = new TriMesh(“My Mesh”,

BufferUtils.createFloatBuffer(vertexes),

null,

null,

TexCoords.makeNew(texCoords),

BufferUtils.createIntBuffer(indexes));



mesh.setRenderState(ts);

[/java]



On my computer walls look fine (Ubuntu 10.04 Intel x3100):





But on other there is strange effect like the texture color palette is too low (WinXP ATI X1400 128MB):





The texture is with gradient:





I don’t use material state on walls, just simple texture. I’m not sure but this effect can occur if you lower color palette to 256 colors. Has anybody had the same problem?



Thanks, Stanislaw