summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/simplecustommaterial/shaders/gl45/simpleColor.frag
blob: f2658621d90a05c2212e7df44ba2755cb99db8dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 450 core

layout(std140, binding = 2) uniform custom_uniforms {
    vec3 maincolor;
};

layout(location = 0) out vec4 fragColor;

void main()
{
    //output color from material
    fragColor = vec4(maincolor,1.0);
}