pandemonium_demo_projects/2d/sprite_shaders/shaders/silouette.shader

9 lines
171 B
Plaintext
Raw Normal View History

shader_type canvas_item;
render_mode blend_mix;
uniform vec4 modulate: hint_color;
void fragment() {
COLOR = vec4(modulate.rgb, texture(TEXTURE, UV).a * modulate.a);
}