diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-07 17:16:14 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-12-07 17:16:14 -0500 |
commit | 62d79ffc94f7ea177bd1a0745604490214e1e036 (patch) | |
tree | 8edd6b2c49956bb27e96324eef2d1520306ef6d3 /assets | |
parent | 2227e40af76aa10d87bbcce0f7df73d98407881b (diff) |
physics?
Diffstat (limited to 'assets')
-rw-r--r-- | assets/ball_f.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |