double-hit-balls/assets/shaders/particle-shader.fragment

11 lines
172 B
Plaintext
Executable File

precision mediump float;
in vec2 texCoord;
flat in vec4 color;
uniform sampler2D Texture;
void main()
{
gl_FragColor = texture2D(Texture,texCoord) * color;
}