double-hit-balls/assets/shaders/gui_transparent.fragment

12 lines
214 B
Plaintext
Raw Normal View History

2018-07-22 11:36:06 +00:00
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;
}