black_out.gdshader 268 B

123456789101112
  1. shader_type spatial;
  2. render_mode blend_mix,depth_draw_opaque,cull_disabled,unshaded,depth_test_disabled;
  3. uniform vec4 albedo : source_color;
  4. void vertex() {
  5. POSITION = vec4(VERTEX.xy * 2.0, -1.0, 1.0);
  6. }
  7. void fragment() {
  8. ALBEDO = albedo.rgb;
  9. ALPHA = albedo.a;
  10. }