qt6windows7/tests/manual/rhi/cubemap_render/cubemap_oneface.frag
2023-10-29 23:33:08 +01:00

14 lines
192 B
GLSL

#version 440
layout(location = 0) out vec4 fragColor;
layout(std140, binding = 0) uniform buf {
mat4 mvp;
vec3 color;
} ubuf;
void main()
{
fragColor = vec4(ubuf.color, 1.0);
}