Hi all,
I have read recently a new feature of OpenGL who is GLSL binding.
layout(binding = 0) uniform sampler2D DiffuseTexture;
layout(std140, binding = 0) uniform ShaderBuffer
{
...
}
Since all can be binded in the GLSL shader, is glGetUniformLocation needed anymore ?
Thanks