It can be as simple as this: shader_type canvas_item; uniform vec4 alpha_color: source_color = vec4(1.0, 0.0, 1.0, 1.0); void fragment() { if (COLOR.rgb == alpha_color.rgb) { COLOR.a = 0.0; } }
0 likes 1 replies
?
It can be as simple as this: shader_type canvas_item; uniform vec4 alpha_color: source_color = vec4(1.0, 0.0, 1.0, 1.0); void fragment() { if (COLOR.rgb == alpha_color.rgb) { COLOR.a = 0.0; } }
0 likes 1 replies