Ok, @Momoko_Fan gave me a cool hint with AssetEventListener and to change the Anisotromy become very easy! Yahoo!
Here is the code which changes all textures Anisotropy = 8. Just add this code to your simpleInitApp() and everything will be cool :
[java]
AssetEventListener asl = new AssetEventListener() {
public void assetLoaded(AssetKey key) {
// throw new UnsupportedOperationException(“Not supported yet.”);
}
public void assetRequested(AssetKey key) {
if (key.getExtension().equals("png") || key.getExtension().equals("jpg") || key.getExtension().equals("dds")) {
System.out.println(key.getExtension());
TextureKey tkey = (TextureKey) key;
tkey.setAnisotropy(8);
}
}
public void assetDependencyNotFound(AssetKey parentKey, AssetKey dependentAssetKey) {
// throw new UnsupportedOperationException(“Not supported yet.”);
}
};
assetManager.addAssetEventListener(asl);
[/java]
I think i’ll add it to our wiki soon. As this is very important for developers.