From c275e63229607c50245b04a9c967e2b926919706 Mon Sep 17 00:00:00 2001 From: FMS-Cat Date: Mon, 22 Mar 2021 06:16:13 +0900 Subject: [PATCH] fix (pixel sorter): slightly adjusting the threshold --- src/entities/PixelSorter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/PixelSorter.ts b/src/entities/PixelSorter.ts index e905fe1..34a930c 100644 --- a/src/entities/PixelSorter.ts +++ b/src/entities/PixelSorter.ts @@ -147,7 +147,7 @@ export class PixelSorter { material.addUniform( 'threshold', '1f', value ); } ); - entityMain.active = 0.0 < value; + entityMain.active = 0.001 < value; entityBypass.active = !entityMain.active; } ); }