Hey again. I’m trying to get rid of my texture bleeding issue and have attempted
But it does nothing. Am I using it wrong?
EDIT: Was using it on the wrong texture…
Hm … should work.
Here is some code from: jmonkeyengine/BitmapFontLoader.java at master · jMonkeyEngine/jmonkeyengine · GitHub
MaterialDef spriteMat =
Texture tex = null;
TextureKey key = new TextureKey(folder + file, true);
tex = assetManager.loadTexture(key);
Material mat = new Material(spriteMat);
matPages[index] = mat;
This happens before the letter quads are being generated.
Maybe you make a small code example with an example texture that demonstrate the not working things. Then we could see if that fails on our computer with jME 3.0 / jME 3.1. And the gurus might step in and answer your questions.
I was using it on a texture loaded through the assetManager. I thought it would update the cached texture. I had to use it on the texture I loaded the second time.