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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rayzee",
3
- "version": "7.30.1",
3
+ "version": "7.30.2",
4
4
  "type": "module",
5
5
  "description": "Real-time WebGPU path tracing engine built on Three.js",
6
6
  "main": "dist/rayzee.umd.js",
@@ -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
- const MAX_BVH_ITERATIONS = 512;
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;