qtk/resources/shaders/fragment/texture2d.frag

13 lines
169 B
GLSL
Raw Normal View History

2021-09-03 16:56:57 +00:00
#version 330
in vec2 vTextureCoord;
uniform sampler2D uTexture;
out vec4 fColor;
void main()
{
vec4 texCol = texture(uTexture, vTextureCoord);
fColor = texCol;
}