06/shaders/shader.frag

13 lines
153 B
GLSL
Raw Normal View History

2022-11-14 17:15:30 +00:00
#version 330 core
in vec2 texCoord;
uniform sampler2D tex_diffuse;
out vec4 color;
void main()
{
color = texture(tex_diffuse, texCoord);
}