Altered input wheel colours, and made the custom material for the wheels accept the colours of the ColorRect they're applied to.
This commit is contained in:
@@ -3,5 +3,5 @@ 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);
|
||||
COLOR = vec4(COLOR.xyz, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user