Texture compression for Raspberry

I’ve attempted to run my game on a Raspberry Pi 4 but got

RendererException: Image format 'DXT5' is unsupported by the video hardware

So which format is supported by Raspberry? I didn’t find any information about this topic…

1 Like

Which format are you using ?

I’ve compressed my PNGs into DXT5

Maybe try WebP

All i know is :

  • RPI RaspiOS configures OpenGLES 3.1 as OpenGL2 which is not good.
  • PNG texture compression format is 24-bits for RGB only, 32-bits for RGBA.
  • DXT-5 compression format use 128-bits for each 4x4 block, a pair of 64-bit of chuncks.
  • Raspi4B GPU (BCM2711-VideoCore VI) can handle upto 32-bits only of color bits per graphic image.

Read this article about RPI4B processor SoC GPU BCM2711 :

Article about DXT-5 Compression format :

https://www.khronos.org/opengl/wiki/S3_Texture_Compression#:~:text=The%20DXT5%20format%20is%20an,as%20in%20the%20DXT3%20case.&text=DXT5%20compresses%20the%20alpha%20using%20a%20compression%20scheme%20similar%20to%20DXT1

Article on raspi forums about textures compression :
https://www.raspberrypi.org/forums/viewtopic.php?t=14333