@plasius/gpu-lighting 0.1.9 → 0.1.11

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/CHANGELOG.md +42 -0
  2. package/README.md +18 -0
  3. package/package.json +8 -7
package/CHANGELOG.md CHANGED
@@ -20,6 +20,46 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
20
20
  - **Security**
21
21
  - (placeholder)
22
22
 
23
+ ## [0.1.11] - 2026-04-02
24
+
25
+ - **Added**
26
+ - Demo contract tests that lock the shared 3D harbor mount options and the
27
+ visible lighting state catalog surfaced by `gpu-lighting/demo/`.
28
+
29
+ - **Changed**
30
+ - The browser demo now imports `@plasius/gpu-shared` through an import map
31
+ and public package import instead of a deep internal `node_modules/.../dist`
32
+ path.
33
+ - README guidance now consistently describes the mounted 3D harbor demo
34
+ instead of mixing in stale catalog-only text.
35
+
36
+ - **Fixed**
37
+ - (placeholder)
38
+
39
+ - **Security**
40
+ - (placeholder)
41
+
42
+ ## [0.1.10] - 2026-03-23
43
+
44
+ - **Added**
45
+ - A browser-based 3D harbor demo so lighting band behavior is visible against
46
+ GLTF ships, cloth, and water instead of a catalog-only page.
47
+
48
+ - **Changed**
49
+ - `gpu-lighting/demo/` now delegates its 3D harbor scene to the shared
50
+ `@plasius/gpu-shared` showcase runtime instead of carrying a package-local copy
51
+ of the renderer and loader logic.
52
+ - The harbor runtime now renders stronger near-field shadow projection and
53
+ reflection accents so the lighting bands read closer to the intended
54
+ ray-traced lighting path.
55
+
56
+ - **Fixed**
57
+ - The package-local lighting demo now gives a clear visual result instead of
58
+ looking like a flat catalog surface.
59
+
60
+ - **Security**
61
+ - (placeholder)
62
+
23
63
  ## [0.1.9] - 2026-03-15
24
64
 
25
65
  - **Added**
@@ -164,3 +204,5 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
164
204
  [0.1.7]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.7
165
205
  [0.1.8]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.8
166
206
  [0.1.9]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.9
207
+ [0.1.10]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.10
208
+ [0.1.11]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.11
package/README.md CHANGED
@@ -26,6 +26,22 @@ Apache-2.0. ESM + CJS builds. WGSL assets are published in `dist/`.
26
26
  npm install @plasius/gpu-lighting
27
27
  ```
28
28
 
29
+ ## Browser Demo
30
+
31
+ ```bash
32
+ npm run demo
33
+ ```
34
+
35
+ Then open `http://localhost:8000/gpu-lighting/demo/`.
36
+
37
+ The browser demo now mounts the shared 3D harbor validation scene from
38
+ `@plasius/gpu-shared` instead of a catalog-only page, so lighting-band behavior
39
+ is visible against GLTF ships, water, and cloth.
40
+
41
+ For browser-only serving, the demo resolves `@plasius/gpu-shared` through an
42
+ import map so the page stays on the published package surface rather than a
43
+ package-private source path.
44
+
29
45
  ## Usage (load one technique)
30
46
 
31
47
  ```js
@@ -152,6 +168,8 @@ npm run demo
152
168
  ```
153
169
 
154
170
  Then open `http://localhost:8000/gpu-lighting/demo/`.
171
+ The mounted 3D scene keeps the lighting profile, band-policy, and worker-state
172
+ catalog visible while rendering the shared harbor validation surface.
155
173
 
156
174
  ## Development Checks
157
175
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/gpu-lighting",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Advanced lighting WGSL modules and planning profiles for @plasius/gpu-worker.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -26,7 +26,7 @@
26
26
  "scripts": {
27
27
  "build": "tsup && cp -R src/techniques dist/techniques",
28
28
  "demo": "python3 -m http.server --directory ..",
29
- "typecheck": "node --check src/index.js",
29
+ "typecheck": "node --check src/index.js && node --check demo/lighting-demo-config.js && node --check demo/main.js",
30
30
  "audit:eslint": "eslint . --max-warnings=0",
31
31
  "audit:deps": "npm ls --all --omit=optional --omit=peer > /dev/null 2>&1 || true",
32
32
  "audit:npm": "npm audit --audit-level=high --omit=dev",
@@ -54,13 +54,13 @@
54
54
  "author": "Plasius LTD <development@plasius.co.uk>",
55
55
  "license": "Apache-2.0",
56
56
  "devDependencies": {
57
- "@eslint/js": "^9.39.1",
57
+ "@eslint/js": "^10.0.1",
58
58
  "@playwright/test": "^1.57.0",
59
- "c8": "^10.1.3",
60
- "eslint": "^9.39.1",
59
+ "c8": "^11.0.0",
60
+ "eslint": "^10.1.0",
61
61
  "globals": "^17.3.0",
62
62
  "tsup": "^8.5.0",
63
- "typescript": "^5.9.3"
63
+ "typescript": "^6.0.2"
64
64
  },
65
65
  "repository": {
66
66
  "type": "git",
@@ -84,7 +84,8 @@
84
84
  }
85
85
  ],
86
86
  "dependencies": {
87
- "@plasius/gpu-worker": "^0.1.10"
87
+ "@plasius/gpu-shared": "^0.1.4",
88
+ "@plasius/gpu-worker": "^0.1.12"
88
89
  },
89
90
  "overrides": {
90
91
  "minimatch": "^10.2.1"