summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/simplecustommaterial/shaders/gl3/simpleColor.frag
blob: c899052d9228aeb9359681f97fcbd0eec62e896d (plain)
1
2
3
4
5
6
7
8
9
10
11
#version 150 core

uniform vec3 maincolor;
out vec4 fragColor;

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