Texture in OpenGL ES 2 looks pixelated
I'm trying to translate a view based app to OpenGL, and my images look pixelated:
Screenshot
I suspect it is because I need to add retina support or something, I tried adding [self setContentScaleFactor:2] in my GLView, but it doesn't work, it just makes the screen purple.
Also I set the min and mag filter to linear.
I'm sure it's just something stupid that I'm missing... The texture's dimensions are powers of two...
Can someone help? Thanks!!
Screenshot
I suspect it is because I need to add retina support or something, I tried adding [self setContentScaleFactor:2] in my GLView, but it doesn't work, it just makes the screen purple.
Also I set the min and mag filter to linear.
I'm sure it's just something stupid that I'm missing... The texture's dimensions are powers of two...
Can someone help? Thanks!!
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| OpenGL ES Texture Compression | ajrs84 | 9 | 490 |
May 7, 2013 03:36 PM Last Post: ajrs84 |
|
| OpenGL ES Texture Masking | airfire | 5 | 11,462 |
Nov 14, 2012 09:36 AM Last Post: toanNguyen |
|
| OpenGL ES Texture Masking | dalasjoe sin | 0 | 3,143 |
Apr 13, 2012 12:17 AM Last Post: dalasjoe sin |
|
| Lighting and changing texture colors in OpenGL | agreendev | 2 | 6,123 |
Aug 13, 2010 03:47 PM Last Post: agreendev |
|
| OpenGL ES Texture Problems | jhbau1000 | 1 | 4,422 |
Jul 12, 2010 05:57 AM Last Post: Kezhaya |
|


