Hi, I made a simple transparency shader that works fine on sprites
shader_type canvas_item;
uniform float opacity : hint_range(0, 1);
void fragment()
{
COLOR = texture(TEXTURE, UV);
COLOR.a *= opacity;
}
However, when trying to use it on a label, the text and outline both turn white, no matter what color I choose in the theme or in custom font color. Is there another way to make text transparent (preferably one that's able to be animated)? Or is there a way to fix the colors with the shader?