@plasius/gpu-lighting 0.1.9 → 0.1.10
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/CHANGELOG.md +22 -0
- package/README.md +15 -0
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -20,6 +20,27 @@ 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.10] - 2026-03-23
|
|
24
|
+
|
|
25
|
+
- **Added**
|
|
26
|
+
- A browser-based 3D harbor demo so lighting band behavior is visible against
|
|
27
|
+
GLTF ships, cloth, and water instead of a catalog-only page.
|
|
28
|
+
|
|
29
|
+
- **Changed**
|
|
30
|
+
- `gpu-lighting/demo/` now delegates its 3D harbor scene to the shared
|
|
31
|
+
`@plasius/gpu-shared` showcase runtime instead of carrying a package-local copy
|
|
32
|
+
of the renderer and loader logic.
|
|
33
|
+
- The harbor runtime now renders stronger near-field shadow projection and
|
|
34
|
+
reflection accents so the lighting bands read closer to the intended
|
|
35
|
+
ray-traced lighting path.
|
|
36
|
+
|
|
37
|
+
- **Fixed**
|
|
38
|
+
- The package-local lighting demo now gives a clear visual result instead of
|
|
39
|
+
looking like a flat catalog surface.
|
|
40
|
+
|
|
41
|
+
- **Security**
|
|
42
|
+
- (placeholder)
|
|
43
|
+
|
|
23
44
|
## [0.1.9] - 2026-03-15
|
|
24
45
|
|
|
25
46
|
- **Added**
|
|
@@ -164,3 +185,4 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
164
185
|
[0.1.7]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.7
|
|
165
186
|
[0.1.8]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.8
|
|
166
187
|
[0.1.9]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.9
|
|
188
|
+
[0.1.10]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.10
|
package/README.md
CHANGED
|
@@ -26,6 +26,18 @@ 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
|
+
|
|
29
41
|
## Usage (load one technique)
|
|
30
42
|
|
|
31
43
|
```js
|
|
@@ -153,6 +165,9 @@ npm run demo
|
|
|
153
165
|
|
|
154
166
|
Then open `http://localhost:8000/gpu-lighting/demo/`.
|
|
155
167
|
|
|
168
|
+
The demo is intentionally catalog-first. It does not mount a 3D canvas; it
|
|
169
|
+
shows profile, technique, and worker-planning state.
|
|
170
|
+
|
|
156
171
|
## Development Checks
|
|
157
172
|
|
|
158
173
|
```sh
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/gpu-lighting",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Advanced lighting WGSL modules and planning profiles for @plasius/gpu-worker.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"author": "Plasius LTD <development@plasius.co.uk>",
|
|
55
55
|
"license": "Apache-2.0",
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@eslint/js": "^
|
|
57
|
+
"@eslint/js": "^10.0.1",
|
|
58
58
|
"@playwright/test": "^1.57.0",
|
|
59
|
-
"c8": "^
|
|
60
|
-
"eslint": "^
|
|
59
|
+
"c8": "^11.0.0",
|
|
60
|
+
"eslint": "^10.1.0",
|
|
61
61
|
"globals": "^17.3.0",
|
|
62
62
|
"tsup": "^8.5.0",
|
|
63
63
|
"typescript": "^5.9.3"
|
|
@@ -84,7 +84,8 @@
|
|
|
84
84
|
}
|
|
85
85
|
],
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@plasius/gpu-
|
|
87
|
+
"@plasius/gpu-shared": "https://registry.npmjs.org/@plasius/gpu-shared/-/gpu-shared-0.1.0.tgz",
|
|
88
|
+
"@plasius/gpu-worker": "^0.1.11"
|
|
88
89
|
},
|
|
89
90
|
"overrides": {
|
|
90
91
|
"minimatch": "^10.2.1"
|