double-hit-balls/assets/shaders/particle-shader.fragment
Vladislav Khorev Dev cbb3ffb008 Testing particles
2017-12-24 04:55:01 +05:00

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;
}