I’m trying to do a splash screen for my game. I want to map a texture to a quad which will fill the entire screen. The window is 800x480.
Originally my splash bitmap file was 800x480. I put the texture on a quad and set the quad to ortho and got it on the screen, but it was blurry. I realized that my bitmap wasn’t in powers of two so I added a big border to make it 1024x512, and I offset the quad so the border isn’t shown. This looks better but I still get some weird artifacts.
Here’s how it’s supposed to look (a cropped portion):
Here’s how it actually looks:
Here’s how I load the texture:
Texture texture = TextureManager.loadTexture(
url, Texture.MM_NONE, Texture.FM_NEAREST );
I tried all the different values for the minFilter and magFilter, but got the same result.
Any ideas how I can get this to look right?