Re: GL_INVALID_OPERATION after calling ShaderState.glUniform
Posted by
elect on
Feb 26, 2016; 4:17pm
URL: https://forum.jogamp.org/GL-INVALID-OPERATION-after-calling-ShaderState-glUniform-tp4036347p4036376.html
You bloody ^^ didnt your mum always say you to check uniform locations first? :D
Actually that's the second one, first one is "not accept candies from strangers" :p
However, I was referring to this
Debug Output. You can find an example
here . It is muuuuch more human readable and helpful.
Ps: don't use spare uniform, use UBOs (or SSBOs)
Pps: use explicit locations if you can