generated from krampus/template-godot4
9 lines
227 B
Plaintext
9 lines
227 B
Plaintext
shader_type canvas_item;
|
|
|
|
uniform sampler2D screen_texture: hint_screen_texture;
|
|
|
|
void fragment() {
|
|
vec4 color = vec4(texture(screen_texture, SCREEN_UV).rgb, texture(TEXTURE, UV).a);
|
|
|
|
COLOR = vec4(1.0 - color.rgb, color.a);
|
|
} |