planet-wars/frontend/www/static/shaders/frag/image.glsl
ajuvercr 998cb3d535
Frontend/visualiser: enhancement show ship_count in visualiser (#23)
* make all fleets fly forward

* make things beautiful
2020-04-17 21:03:43 +02:00

14 lines
270 B
GLSL

#ifdef GL_ES
precision mediump float;
#endif
// Passed in from the vertex shader.
varying vec2 v_texCoord;
// The texture.
uniform sampler2D u_texture;
void main() {
gl_FragColor = texture2D(u_texture, v_texCoord);
// gl_FragColor = vec4(0.7, 0.7, 0.0, 1.0);
}