summaryrefslogtreecommitdiffstats
path: root/tests/manual/rhi/cubemap_render/cubemap_oneface.frag
blob: 8bafe689bea2b59bb6a45ed9528239e8ac5512c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);
}