calamity-cobra-2/build/res/shader/texture_quad.fs
2023-08-24 17:19:41 -04:00

14 lines
166 B
GLSL

#version 330 core
uniform vec4 uColor;
uniform sampler2D uTexture;
in vec2 iUV;
out vec4 FragColor;
void main()
{
FragColor = uColor * texture(uTexture, iUV);
}