1 //Very simple fragment shader that merely applies the vertex shading to the color at each fragment.
3 precision mediump float;
4 varying mediump vec3 vIllumination;
5 uniform lowp vec4 uColor;
6 uniform lowp vec3 mixColor;
10 vec4 baseColor = vec4(mixColor, 1.0) * uColor;
11 gl_FragColor = vec4( vIllumination.rgb * baseColor.rgb, baseColor.a );