Controller input box is currently in development, but has reached alpha.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
shader_type canvas_item;
|
||||
|
||||
void fragment() {
|
||||
float dist = 1.0f - (distance(vec2(0.5f, 0.5f), UV.xy) * 2.0);
|
||||
float value = smoothstep(0.0f, 0.01, dist);
|
||||
COLOR = vec4(1.0, 1.0, 1.0, value);
|
||||
}
|
||||
Reference in New Issue
Block a user