Reduce memory use for textures in OpenGL ES 1.1

后端 未结 3 1620
傲寒
傲寒 2021-02-01 00:11

My scene in OpenGL ES requires several large resolution textures, but they are grayscale, since I am using them just for masks. I need to reduce my memory use.

I have t

3条回答
  •  名媛妹妹
    2021-02-01 00:37

    With Imagination Technologies-based (aka PowerVR) systems, you should be able to use PVRTC 4bpp and (depending on the texture and quality requirements) maybe even 2bpp PVRTC variant.

    Also, though I'm not sure what is exposed in Android systems, the PVRTextool lists I8 (i.e. greyscale 8bpp) as target texture format, which would give you a lossless option.

提交回复
热议问题