17 lines
243 B
GLSL
17 lines
243 B
GLSL
#version 450 core
|
|
|
|
layout (location = 0) out vec4 FragColor;
|
|
|
|
layout (location = 0) in VS_OUT
|
|
{
|
|
vec2 foobar;
|
|
} fs_in;
|
|
|
|
layout (binding = 1) uniform sampler2D t0;
|
|
|
|
void main()
|
|
{
|
|
FragColor = texture(t0, fs_in.foobar);
|
|
}
|
|
|