ile-de-test/addons/zylann.hterrain/tools/texture_editor/display_alpha.gdshader

7 lines
110 B
Text
Raw Permalink Normal View History

2023-10-05 18:02:23 +00:00
shader_type canvas_item;
void fragment() {
float a = texture(TEXTURE, UV).a;
COLOR = vec4(a, a, a, 1.0);
}