double-hit-balls/assets/shaders/gui_transparent.fragment
2018-07-22 16:36:06 +05:00

12 lines
214 B
Plaintext
Executable File

precision highp float;
uniform sampler2D Texture;
varying vec2 texCoord;
varying vec4 color;
void main()
{
vec4 texColor = texture2D(Texture,texCoord).rgba;
gl_FragColor = color * texColor.rgba;
}