init
This commit is contained in:
13
addons/godot-xr-tools/effects/fade.gdshader
Normal file
13
addons/godot-xr-tools/effects/fade.gdshader
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user