khanat-client/addons/zylann.hterrain/tools/texture_editor/display_alpha.shader

7 lines
110 B
Text
Raw Normal View History

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