You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yo, this wonderful library tries to set a texture format of GL_LUMINANCE/GL_LUMINANCE_ALPHA at line 1613 of SOIL.c. OpenGL 4 completely removed those formats, they don't work anymore.
As far as I can tell the intended replacement is to use GL_RED/GL_RG instead, but these have different behaviour (GL_LUMINANCE feeds vec4(x, x, x, 1) to shaders, GL_RED feeds vec4(x, 0, 0, 1) to shaders).
The text was updated successfully, but these errors were encountered:
Original report by Dominic Bowden (Bitbucket: clump, GitHub: clump).
Yo, this wonderful library tries to set a texture format of GL_LUMINANCE/GL_LUMINANCE_ALPHA at line 1613 of SOIL.c. OpenGL 4 completely removed those formats, they don't work anymore.
As far as I can tell the intended replacement is to use GL_RED/GL_RG instead, but these have different behaviour (GL_LUMINANCE feeds vec4(x, x, x, 1) to shaders, GL_RED feeds vec4(x, 0, 0, 1) to shaders).
The text was updated successfully, but these errors were encountered: