rayzee 7.30.1 → 7.30.2
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/dist/rayzee.es.js +1 -1
- package/dist/rayzee.umd.js +1 -1
- package/package.json +1 -1
- package/src/TSL/BVHTraversal.js +3 -1
package/package.json
CHANGED
package/src/TSL/BVHTraversal.js
CHANGED
|
@@ -24,7 +24,9 @@ import { HitInfo } from './Struct.js';
|
|
|
24
24
|
import { getDatafromStorageBuffer } from './Common.js';
|
|
25
25
|
|
|
26
26
|
const MAX_STACK_DEPTH = 32;
|
|
27
|
-
|
|
27
|
+
// Hang guard only — tripping it reports a MISS, which the shade kernel pays out as
|
|
28
|
+
// full-intensity environment. San Miguel needs ~1024; cost is flat from 1024 up.
|
|
29
|
+
const MAX_BVH_ITERATIONS = 4096;
|
|
28
30
|
const BVH_STRIDE = 4;
|
|
29
31
|
const TRI_STRIDE = 8;
|
|
30
32
|
const HUGE_VAL = 1e8;
|