04/shaders/shader.frag

13 lines
153 B
GLSL
Raw Normal View History

2022-08-04 08:39:56 +00:00
#version 330 core
in vec2 texCoord;
uniform sampler2D tex_diffuse;
out vec4 color;
2022-08-04 08:39:56 +00:00
void main()
{
color = texture(tex_diffuse, texCoord);
2022-08-04 08:39:56 +00:00
}