summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/simplecustommaterial/shaders/es2/simpleColor.frag
blob: d18c016996c05683cf2ba45f6b9417dd46a7617d (plain)
1
2
3
4
5
6
7
8
9
10
#define FP highp

uniform FP vec3 maincolor;

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