Files
loop/shader/wall/texture.frag
T

10 lines
143 B
GLSL

#version 430 core
in vec2 tPos;
in vec4 gColor;
uniform sampler2D tex;
out vec4 fColor;
void main()
{
fColor = gColor * texture(tex,tPos);
}