oglc/shader/quad/shader.frag

13 lines
170 B
GLSL
Raw Normal View History

2021-07-06 23:13:56 +01:00
#version 430 core
2021-07-04 02:53:37 +01:00
out vec4 FragColor;
2021-07-06 00:58:55 +01:00
in vec3 ourColor;
2021-07-06 21:20:01 +01:00
in vec2 TexCoord;
uniform sampler2D ourTexture;
2021-07-05 08:51:55 +01:00
2021-07-04 02:53:37 +01:00
void main()
{
2021-07-06 21:20:01 +01:00
FragColor = texture(ourTexture, TexCoord);
2021-07-04 02:53:37 +01:00
}