Blobby/assets/effects/transparency.gdshader

8 lines
159 B
Plaintext

shader_type canvas_item;
uniform float transparency : hint_range(0.0, 1.0) = 0.5;
void fragment() {
COLOR = texture(TEXTURE, UV);
COLOR.a = transparency;
}