Skip to content

Instantly share code, notes, and snippets.

View kerniee's full-sized avatar
🖐️

Kernie kerniee

🖐️
  • Innopolis. Russia
View GitHub Profile
shader_type spatial;
render_mode unshaded, fog_disabled;
uniform sampler2D DEPTH_TEXTURE : hint_depth_texture, repeat_disable, filter_nearest;
uniform sampler2D SCREEN_TEXTURE : hint_screen_texture, repeat_disable, filter_nearest;
uniform sampler2D dither_tex : source_color;
uniform vec4 color1 : source_color = vec4(1.0);
uniform vec4 color2 : source_color = vec4(0.0);