2023-10-10 10:43:34 +00:00
|
|
|
#version 420 core
|
|
|
|
|
2023-10-11 13:01:54 +00:00
|
|
|
in vec2 uv_coords;
|
|
|
|
|
2023-10-10 10:43:34 +00:00
|
|
|
out vec4 color;
|
|
|
|
|
2023-10-11 13:01:54 +00:00
|
|
|
uniform sampler2D block_atlas;
|
|
|
|
|
2023-10-10 10:43:34 +00:00
|
|
|
void main() {
|
|
|
|
|
2023-10-11 13:01:54 +00:00
|
|
|
color = texture(block_atlas, uv_coords); // vec4(uv_coords, 0.0f, 1.0); // vec4(1.0, 0.0, 0.0, 1.0);
|
2023-10-10 10:43:34 +00:00
|
|
|
}
|