normalized.gdshader 210 B

12345678
  1. shader_type canvas_item;
  2. uniform sampler2D screen_texture : hint_screen_texture, filter_linear_mipmap;
  3. void fragment() {
  4. vec3 c = textureLod(screen_texture, SCREEN_UV, 0.0).rgb;
  5. COLOR.rgb = normalize(c);
  6. }