GLSL shader version suddenly reverts to 110 from 330
from ZILtoid1991@lemmy.world to programming@programming.dev on 26 Mar 08:48
https://lemmy.world/post/27406522

In a project, I’ve successfully compiled multiple shaders, but at the last fragment shader it just decides to revert back to 110 for no real reason (it’s vertex pair just compiled fine), then fails to compile due to me using some 330-related features.

Yes, I requested 3.30 core profile before you ask.

#programming

threaded - newest

ZILtoid1991@lemmy.world on 27 Mar 07:18 collapse

Found the issue, I tried to access a Sampler2D object with a 3D vector.