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

11 lines
172 B
Plaintext
Raw Permalink Normal View History

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