eurekin 5 days ago

Googled "luminescence" and OpenGL -- don't seem to return relevant results. Could you point to where it's described?

1
mwkaufma 5 days ago

replace/luminescence/luminance (thanks autocorrect).

Legacy OpenGL APIs used to assume sRGB, so you had to specify GL_LUMINANCE for non-color 'intensity' maps (which couldn't be blitted to FBOs, e.g.).

Modern OpenGL assumes linear color, so instead you have to specify sRGB on texture load to direct the driver to do colorspace conversion (e.g. GL_SRGB8 for typical RRGGBB byte triples).

More info: https://www.khronos.org/opengl/wiki/Image_Format