rayzee 7.20.0 → 7.20.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/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Rayzee Engine
2
2
 
3
- [![npm](https://img.shields.io/npm/v/rayzee?label=npm)](https://www.npmjs.com/package/rayzee)
4
- [![minzipped size](https://img.shields.io/badge/minzipped-176%20KB-blue)](https://www.npmjs.com/package/rayzee)
5
- [![downloads](https://img.shields.io/npm/dw/rayzee?label=downloads)](https://www.npmjs.com/package/rayzee)
6
- [![jsDelivr](https://img.shields.io/jsdelivr/npm/hm/rayzee?label=jsDelivr)](https://www.jsdelivr.com/package/npm/rayzee)
3
+ [![NPM Package][npm]][npm-url]
4
+ [![Build Size][build-size]][build-size-url]
5
+ [![NPM Downloads][npm-downloads]][npmtrends-url]
6
+ [![jsDelivr Downloads][jsdelivr-downloads]][jsdelivr-url]
7
7
 
8
8
  A real-time WebGPU path tracing engine built on Three.js. Framework-agnostic — use it with React, Vue, vanilla JS, or any other setup.
9
9
 
@@ -802,6 +802,24 @@ Your browser may not support WebGPU. Use Chrome 113+, Edge 113+, Safari 18+, or
802
802
  **Models not loading**
803
803
  If serving locally, place files in your `public/` folder and reference them with absolute paths (e.g., `/scene.glb`). For remote files, ensure the server allows CORS.
804
804
 
805
+ **Workers blocked by Content-Security-Policy**
806
+ Rayzee's Web Workers are embedded in the bundle and spawned from a `blob:` URL, so a strict `worker-src` policy will block them — the symptom is BVH building, texture processing, or HDRI CDF generation silently failing. Allow `blob:`:
807
+
808
+ ```
809
+ Content-Security-Policy: worker-src 'self' blob:
810
+ ```
811
+
812
+ Only needed if you set an explicit `worker-src` (or fall back to a restrictive `default-src`). Pages without a CSP are unaffected.
813
+
805
814
  ## License
806
815
 
807
816
  MIT
817
+
818
+ [npm]: https://img.shields.io/npm/v/rayzee
819
+ [npm-url]: https://www.npmjs.com/package/rayzee
820
+ [build-size]: https://badgen.net/bundlephobia/minzip/rayzee
821
+ [build-size-url]: https://bundlephobia.com/result?p=rayzee
822
+ [npm-downloads]: https://img.shields.io/npm/dw/rayzee
823
+ [npmtrends-url]: https://www.npmtrends.com/rayzee
824
+ [jsdelivr-downloads]: https://img.shields.io/jsdelivr/npm/hm/rayzee
825
+ [jsdelivr-url]: https://www.jsdelivr.com/package/npm/rayzee