From 62d79ffc94f7ea177bd1a0745604490214e1e036 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 7 Dec 2020 17:16:14 -0500 Subject: physics? --- assets/ball_f.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets') diff --git a/assets/ball_f.glsl b/assets/ball_f.glsl index e3dfdb3..779a0ec 100644 --- a/assets/ball_f.glsl +++ b/assets/ball_f.glsl @@ -5,7 +5,7 @@ uniform float radius; void main() { float dist_squared = dot(pos - center, pos - center); - float threshold = 0.9 * radius; // radius border starts at + float threshold = 0.8 * radius; // radius border starts at float thickness = radius - threshold; if (dist_squared > threshold * threshold && dist_squared < radius * radius) { -- cgit v1.2.3