mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
8 lines
203 B
GLSL
8 lines
203 B
GLSL
varying vec4 v_color;
|
|
varying vec2 v_texCoords;
|
|
uniform sampler2D u_texture;
|
|
|
|
void main(void) {
|
|
float alpha = texture2D(u_texture, v_texCoords).a;
|
|
gl_FragColor = vec4(alpha, alpha, alpha, 1.0);
|
|
} |