shader_type canvas_item; uniform sampler2D screen_texture : hint_screen_texture, filter_linear_mipmap; void fragment() { vec3 c = textureLod(screen_texture, SCREEN_UV, 0.0).rgb; c = mod(c + vec3(0.5), vec3(1.0)); COLOR.rgb = c; }