2018-09-15 21:40:49 +00:00
|
|
|
#version 430
|
2018-09-17 00:50:51 +00:00
|
|
|
in vec2 fragment_uv;
|
|
|
|
|
2018-09-15 21:40:49 +00:00
|
|
|
out vec4 frag_color;
|
2018-09-16 00:43:29 +00:00
|
|
|
|
|
|
|
layout(location = 4) uniform sampler2D tex;
|
|
|
|
|
2018-09-15 21:40:49 +00:00
|
|
|
void main()
|
|
|
|
{
|
2018-09-17 00:50:51 +00:00
|
|
|
vec4 sampled = texture(tex, fragment_uv);
|
2018-10-19 22:30:54 +00:00
|
|
|
frag_color = sampled;
|
|
|
|
}
|