mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-05 10:09:47 +03:00
9 lines
210 B
Plaintext
9 lines
210 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;
|
|
COLOR.rgb = normalize(c);
|
|
}
|