Textures Color and definitions

Hi,
I’m a new italian user, Sorry for my English. I’m a problem, when i load textures on my game the definition or the color(i suppose definition) are poor and the image is bad. I have used the information of the code that I found on documentation about textures properties.
now I paste the code:

Material mat = new Material(assetManager,
“Common/MatDefs/Misc/Unshaded.j3md”);
mat.setTexture(“ColorMap”, assetManager.loadTexture(
“Interface/Logo/Monkey.jpg”));

I have also used this:

Material mat2 = new Material(am,“Common/MatDefs/Light/Lighting.j3md”);
mat2.setTexture(“NormalMap”, am.loadTexture(“Materials/gold.jpg”));
mat2.setBoolean(“HighQuality”,true);
mat2.setColor(“Diffuse”,ColorRGBA.White);

But, if you use the second code the image will not visible.

Thanks for the answers…Grazie per le risposte

:amused:

Do you have a light?

In the second example you are setting the NormalMap, not the ColorMap (texture), so its valid that no texture is shown.

If the quality of the texture is bad, try using a higher resolution texture, for example 1024x1024 instead of 256x256.