ARez @arezdev.de · Oct 2

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

?

Replies

Daoni · Oct 2

Are you sure this is a 4.1 thing and not 4.2+?