mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-29 23:17:30 +01:00
17 lines
309 B
GLSL
17 lines
309 B
GLSL
#version 460 core
|
|
#define STAGE_FRAGMENT 1
|
|
layout(location = 14) in vec2 f_coords;
|
|
|
|
layout(location = 0) out vec4 out_color;
|
|
|
|
#pragma texture(tex1, 0, sRGB_A)
|
|
layout(binding = 0) uniform sampler2D tex1;
|
|
|
|
void main()
|
|
{
|
|
vec2 texcoord = f_coords;
|
|
vec4 color = texture(tex1, texcoord);
|
|
|
|
out_color = color;
|
|
}
|