I have an image that is resized within the app however it looks pretty terrible depending on what it has been scaled to and I dont know how to fix this...
![enter image description here]
Making the image bigger is not the solution and I have already set the mag and min filters as follows...
gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER, GL10.GL_LINEAR);
gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER, GL10.GL_LINEAR);
Does anyone know how I can avoid this?
EDIT: Also why is there a black outline around this as there is no border around it in Photoshop, the background is transparent.
以上就是Android OpenGL ES pixilation的详细内容，更多请关注web前端其它相关文章！