Hello all,
I’m working with creating a skybox to surround my 3D world but I need some advice for textures. Basically I’m using a starfield texture for my skybox (with a lot of stars) and I’m noticing that the stars look very blocky when my view is pointed to a wall of the enclosing box and more like the actual resolution of the texture closer to the corners of the box (which makes sense). Is there a parameter that I should be fiddling with in order to make the resolution of the texture better the closer I am to the texture face? I tried changing the texture MIN and MAG filter to GL_LINEAR but it still didn’t help too much. Is there anything I can even do with respect to code or is this something that I’d have to solve by changing my actual texture?
Texture tex = TextureIO.newTexture(new File("resources//textures//" + currentTextureKey), false);
tex.setTexParameteri(GL.GL_TEXTURE_MIN_FILTER, GL.GL_NEAREST);
tex.setTexParameteri(GL.GL_TEXTURE_MAG_FILTER, GL.GL_NEAREST);