oglc/res/shader/quad/shader.frag

13 lines
170 B
GLSL
Raw Normal View History

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