THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType

I am getting this warning, anyone knows whyt exactly ??

THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.
image_2022-06-04_190823065

Textures in the RGB format are in general not supported anymore.

sRGB encoded color textures are only supported if you use UnsignedByteType since only then gl.SRGB8_ALPHA8 can be used.

1 Like