2021-05-08 00:12:38 +02:00
|
|
|
#version 430
|
|
|
|
|
2021-05-08 13:11:20 +02:00
|
|
|
layout (binding = 0) uniform sampler2D texture;
|
2021-05-08 00:12:38 +02:00
|
|
|
|
|
|
|
smooth in vec2 tex_coords;
|
|
|
|
flat in vec4 color_part;
|
|
|
|
|
|
|
|
out vec4 FragColor;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2021-05-08 13:11:20 +02:00
|
|
|
FragColor = vec4(1.0, 0.0, 0.0, 1.0);// texture2D(texture, tex_coords) * color_part;
|
2021-05-08 00:12:38 +02:00
|
|
|
}
|