mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
11 lines
181 B
GLSL
11 lines
181 B
GLSL
#version 330 core
|
|
|
|
in vec2 a_textureCoord;
|
|
in vec4 a_color;
|
|
out vec4 f_color;
|
|
|
|
uniform sampler2D u_texture;
|
|
|
|
void main(){
|
|
f_color = a_color * texture(u_texture, a_textureCoord);
|
|
}
|