Update gameplay
This commit is contained in:
parent
49c410d8ff
commit
23fa7646d6
10 changed files with 165 additions and 33 deletions
|
|
@ -15,8 +15,8 @@ export class BlobShape extends Drawable {
|
|||
|
||||
float blobSmoothMin(float a, float b)
|
||||
{
|
||||
const float k = 300.0;
|
||||
float res = exp2(-k * a) + exp2(-k * b);
|
||||
const highp float k = 300.0;
|
||||
highp float res = exp2(-k * a) + exp2(-k * b);
|
||||
return -log2(res) / k;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue