ile-de-test/addons/zylann.hterrain/tools/texture_editor/display_alpha.gdshader
2023-10-05 20:02:23 +02:00

6 lines
110 B
Text

shader_type canvas_item;
void fragment() {
float a = texture(TEXTURE, UV).a;
COLOR = vec4(a, a, a, 1.0);
}