2023-02-15 17:16:58 +01:00
|
|
|
#version 450
|
|
|
|
|
|
2023-02-08 14:51:54 +01:00
|
|
|
uniform sampler2D tex;
|
2023-02-15 17:16:58 +01:00
|
|
|
|
2024-08-15 20:29:14 +02:00
|
|
|
in vec2 tex_coord;
|
2023-02-08 14:51:54 +01:00
|
|
|
in vec4 color;
|
2024-08-15 20:29:14 +02:00
|
|
|
out vec4 frag_color;
|
2023-02-15 17:16:58 +01:00
|
|
|
|
2023-02-08 14:51:54 +01:00
|
|
|
void main() {
|
2024-08-15 20:29:14 +02:00
|
|
|
frag_color = textureLod(tex, tex_coord, 0).rgba * color;
|
2023-02-08 14:51:54 +01:00
|
|
|
}
|