mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-11 22:31:52 +09:00
16 lines
237 B
GLSL
16 lines
237 B
GLSL
#version 150
|
|
#ifdef GL_ES
|
|
precision mediump float;
|
|
#endif
|
|
|
|
|
|
in vec4 v_color;
|
|
in vec2 v_texCoords;
|
|
|
|
uniform sampler2D u_texture;
|
|
|
|
out vec4 fragColor;
|
|
|
|
void main(void) {
|
|
fragColor = vec4(texture(u_texture, v_texCoords).rgb, 1.0);
|
|
} |