calamity-cobra-2/build/res/shader/texture_quad.fs

14 lines
166 B
Forth
Raw Normal View History

2023-08-14 07:58:13 +00:00
#version 330 core
uniform vec4 uColor;
uniform sampler2D uTexture;
in vec2 iUV;
out vec4 FragColor;
void main()
{
2023-08-24 21:19:41 +00:00
FragColor = uColor * texture(uTexture, iUV);
2023-08-14 07:58:13 +00:00
}