Open code-monkey-101 opened 2 years ago
The engine currently uses GL_COMPRESSED_SRGB_S3TC_DXT1_EXT
for TEX_FORMAT_BC1_UNORM_SRGB
.
That will probably ignore the alpha bit.
Do you need alpha?
No, I'm good, thanks. I just noticed this when I was googling for the right OpenGL equivalent for BC1_UNORM_SRGB for my own engine ;)
In GraphicTypes.h, GL_COMPRESSED_SRGB_S3TC_DXT1_EXT is mentioned as the OpenGL counterpart of TEX_FORMAT_BC1_UNORM_SRGB (DXGI_FORMAT_BC1_UNORM_SRGB).
I think, the correct counterpart is GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT.