13 lines
269 B
Text
13 lines
269 B
Text
shader_type spatial;
|
|
render_mode depth_test_disabled, skip_vertex_transform, unshaded, cull_disabled;
|
|
|
|
uniform vec4 albedo : source_color;
|
|
|
|
void vertex() {
|
|
POSITION = vec4(VERTEX.x, -VERTEX.y, 0.0, 1.0);
|
|
}
|
|
|
|
void fragment() {
|
|
ALBEDO = albedo.rgb;
|
|
ALPHA = albedo.a;
|
|
}
|