18 lines
371 B
Plaintext
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.
|
|
//}
|