masking shader
credits to scarm for finding it, thanks m8
Shader code
shader_type canvas_item;
void fragment(){
COLOR = texture(SCREEN_TEXTURE, SCREEN_UV);
COLOR.a = texture(TEXTURE, UV).a;
}
credits to scarm for finding it, thanks m8
shader_type canvas_item;
void fragment(){
COLOR = texture(SCREEN_TEXTURE, SCREEN_UV);
COLOR.a = texture(TEXTURE, UV).a;
}
How can I do update for this shader on Godot 4.1?