mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
14 lines
228 B
GLSL
14 lines
228 B
GLSL
|
|
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
|
|
in vec4 v_color;
|
|
in vec4 v_generic;
|
|
in vec2 v_texCoords;
|
|
uniform sampler2D u_texture;
|
|
out vec4 fragColor;
|
|
|
|
void main() {
|
|
fragColor = v_color * texture(u_texture, v_texCoords);
|
|
} |