@navaramap/three-csm 0.0.8 → 0.1.1

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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +12 -2
  3. package/package.json +1 -1
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2026 MapLibre contributors
1
+ Copyright (c) 2026 Navara contributors
2
2
 
3
3
  This project is dual-licensed under either of
4
4
 
package/README.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @navaramap/three-csm
2
2
 
3
- This is a library to extend Three.js to enable Cascaded Shadow Map(CSM).
3
+ Cascaded Shadow Maps (CSM) for Three.js. This package extends Three.js with cascaded directional lights, frustum splitting, and shadow-receiving material patches, so a single directional light (such as Navara's sun) can cast sharp shadows across the huge depth range of a 3D globe scene, from street-level detail to distant terrain.
4
4
 
5
- Research & development by https://github.com/takram-design-engineering.
5
+ It is used by `@navaramap/three-default-descs`' sun light descriptor, but has no dependency on the rest of Navara and can be used in any Three.js project.
6
+
7
+ Based on [three-csm](https://github.com/StrandedKitty/three-csm) and the [three.js CSM examples](https://github.com/mrdoob/three.js/tree/r169/examples/jsm/csm). Research & development by [Takram](https://github.com/takram-design-engineering).
8
+
9
+ ## Documentation
10
+
11
+ See https://navara.world/docs/ for the full Navara documentation.
12
+
13
+ ## License
14
+
15
+ MIT OR Apache-2.0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@navaramap/three-csm",
3
3
  "type": "module",
4
- "version": "0.0.8",
4
+ "version": "0.1.1",
5
5
  "main": "dist/index.umd.cjs",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",