Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 239 Bytes
// Set the precision.
precision mediump float;
// Get the color varying from the vertex shader.
varying vec4 v_color;
void main() {
// Set the fragment color to the color given by the surrounding vertices.
gl_FragColor = v_color;
}
You can’t perform that action at this time.