Fullscreen texture iPhone OpenGL ES

后端 未结 3 968
走了就别回头了
走了就别回头了 2021-02-04 20:41

I\'m aware that OpenGL textures on the the iphone are required to be a power of 2, is this true of OpenGL 2.0 as well? If I have an image that is 320 x 480 in size and want to d

3条回答
  •  梦谈多话
    2021-02-04 21:29

    Assuming you don't have too many full-screen textures, you could just use a 512x512 texture and only use 320x480 of it. It will definitely work.

提交回复
热议问题