reactphysics3d/testbed/shaders/gui.frag
2015-06-01 23:40:44 +02:00

11 lines
174 B
GLSL

#version 330
uniform sampler2D Texture;
in vec2 Frag_UV;
in vec4 Frag_Color;
out vec4 Out_Color;
void main()
{
Out_Color = Frag_Color * texture( Texture, Frag_UV.st);
}