Uniform buffers in GLSL - arrays of mats seem to destroy the alignment of the values afterwards.
layout(std140) uniform ConstantB
{
uniform mat4 views[6];
uniform float texCoord; <-- this doesn't work.
uniform float gamma;
uniform float interp;
uniform float brightness;
}
No comments:
Post a Comment