@woosh/meep-engine 2.150.0 → 2.151.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"description": "Pure JavaScript game engine. Fully featured and production ready.",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"author": "Alexander Goldring",
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.151.0",
|
|
10
10
|
"main": "build/meep.module.js",
|
|
11
11
|
"module": "build/meep.module.js",
|
|
12
12
|
"exports": {
|
|
@@ -314,7 +314,7 @@ const SAOShader = {
|
|
|
314
314
|
|
|
315
315
|
vec3 direction_to_hit = normalize(occluderVS - sampleOrigin);
|
|
316
316
|
|
|
317
|
-
if( dot( direction_to_hit, centerViewNormal) < 0.
|
|
317
|
+
if( dot( direction_to_hit, centerViewNormal) < 0.06 ){ // ~sqrt( 1/255 )
|
|
318
318
|
// unable to occlude
|
|
319
319
|
continue;
|
|
320
320
|
}
|