mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
10 lines
235 B
Plaintext
10 lines
235 B
Plaintext
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;
|
|
}
|