Files
Simplaudio/CoverShader.gdshader
T
notdraimdev 68e8a4223f Simplaudio.
2024-09-09 09:17:29 +02:00

18 lines
371 B
Plaintext

shader_type canvas_item;
uniform sampler2D dissolve;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
vec4 tex = texture(dissolve,UV);
COLOR.a = tex.a;
}
//void light() {
// Called for every pixel for every light affecting the CanvasItem.
// Uncomment to replace the default light processing function with this one.
//}