2023-01-23 00:46:04 +01:00
|
|
|
#version 330
|
|
|
|
|
|
|
|
|
|
flat in vec4 out_color;
|
2023-01-26 15:32:36 +01:00
|
|
|
in vec2 texture_coord;
|
|
|
|
|
uniform sampler2D texture_sampler;
|
|
|
|
|
|
2023-01-23 00:46:04 +01:00
|
|
|
out vec4 color;
|
|
|
|
|
|
|
|
|
|
void main()
|
|
|
|
|
{
|
2023-01-26 15:32:36 +01:00
|
|
|
color = texture(texture_sampler, texture_coord) + out_color;
|
2023-01-23 00:46:04 +01:00
|
|
|
}
|