diary/assets/textures/profilepicture/shape.shader

8 lines
166 B
Plaintext
Raw Normal View History

2022-04-19 14:24:57 +02:00
shader_type canvas_item;
render_mode blend_mix;
uniform sampler2D mask;
void fragment() {
COLOR = texture(TEXTURE, UV) * vec4(vec3(1.0), texture(mask, UV).r);
}