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

11 lines
172 B
Plaintext
Raw Normal View History

2017-12-23 23:55:01 +00:00
precision mediump float;
in vec2 texCoord;
flat in vec4 color;
uniform sampler2D Texture;
void main()
{
gl_FragColor = texture2D(Texture,texCoord) * color;
}