double-hit-balls/assets/particle-shader.fragment
Vladislav Khorev Dev 93e171ec5b First result
2017-12-22 23:35:11 +05:00

11 lines
177 B
Plaintext
Executable File

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