@plasius/gpu-lighting 0.1.0 → 0.1.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/CHANGELOG.md +44 -0
- package/README.md +18 -1
- package/package.json +17 -3
- /package/dist/techniques/{hdri → techniques/hdri}/brdf-lut.job.wgsl +0 -0
- /package/dist/techniques/{hdri → techniques/hdri}/irradiance-convolution.job.wgsl +0 -0
- /package/dist/techniques/{hdri → techniques/hdri}/prelude.wgsl +0 -0
- /package/dist/techniques/{hdri → techniques/hdri}/specular-prefilter.job.wgsl +0 -0
- /package/dist/techniques/{hybrid → techniques/hybrid}/direct-lighting.job.wgsl +0 -0
- /package/dist/techniques/{hybrid → techniques/hybrid}/final-gather.job.wgsl +0 -0
- /package/dist/techniques/{hybrid → techniques/hybrid}/prelude.wgsl +0 -0
- /package/dist/techniques/{hybrid → techniques/hybrid}/radiance-cache.job.wgsl +0 -0
- /package/dist/techniques/{hybrid → techniques/hybrid}/reflection-resolve.job.wgsl +0 -0
- /package/dist/techniques/{hybrid → techniques/hybrid}/screen-trace.job.wgsl +0 -0
- /package/dist/techniques/{pathtracer → techniques/pathtracer}/accumulate.job.wgsl +0 -0
- /package/dist/techniques/{pathtracer → techniques/pathtracer}/denoise.job.wgsl +0 -0
- /package/dist/techniques/{pathtracer → techniques/pathtracer}/pathtrace.job.wgsl +0 -0
- /package/dist/techniques/{pathtracer → techniques/pathtracer}/prelude.wgsl +0 -0
- /package/dist/techniques/{volumetrics → techniques/volumetrics}/froxel-integrate.job.wgsl +0 -0
- /package/dist/techniques/{volumetrics → techniques/volumetrics}/prelude.wgsl +0 -0
- /package/dist/techniques/{volumetrics → techniques/volumetrics}/volumetric-shadow.job.wgsl +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,34 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
- **Added**
|
|
12
|
+
- (placeholder)
|
|
13
|
+
|
|
14
|
+
- **Changed**
|
|
15
|
+
- (placeholder)
|
|
16
|
+
|
|
17
|
+
- **Fixed**
|
|
18
|
+
- (placeholder)
|
|
19
|
+
|
|
20
|
+
- **Security**
|
|
21
|
+
- (placeholder)
|
|
22
|
+
|
|
23
|
+
## [0.1.2] - 2026-03-01
|
|
24
|
+
|
|
25
|
+
- **Added**
|
|
26
|
+
- `lint`, `typecheck`, and security audit scripts for local and CI enforcement.
|
|
27
|
+
|
|
28
|
+
- **Changed**
|
|
29
|
+
- CI now fails early on lint/typecheck/runtime dependency audit before build/test.
|
|
30
|
+
|
|
31
|
+
- **Fixed**
|
|
32
|
+
- Pack-check regex cleanup to remove an unnecessary path escape.
|
|
33
|
+
|
|
34
|
+
- **Security**
|
|
35
|
+
- Runtime dependency vulnerability checks are now enforced in CI.
|
|
36
|
+
|
|
37
|
+
## [0.1.1] - 2026-02-28
|
|
38
|
+
|
|
11
39
|
- **Added**
|
|
12
40
|
- (placeholder)
|
|
13
41
|
|
|
@@ -44,3 +72,19 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
|
|
|
44
72
|
|
|
45
73
|
|
|
46
74
|
[0.1.0]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.0
|
|
75
|
+
|
|
76
|
+
## [0.1.0] - 2026-02-11
|
|
77
|
+
|
|
78
|
+
- **Added**
|
|
79
|
+
- Initial release.
|
|
80
|
+
|
|
81
|
+
- **Changed**
|
|
82
|
+
- (placeholder)
|
|
83
|
+
|
|
84
|
+
- **Fixed**
|
|
85
|
+
- (placeholder)
|
|
86
|
+
|
|
87
|
+
- **Security**
|
|
88
|
+
- (placeholder)
|
|
89
|
+
[0.1.1]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.1
|
|
90
|
+
[0.1.2]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.2
|
package/README.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# @plasius/gpu-lighting
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@plasius/gpu-lighting)
|
|
3
|
+
[](https://www.npmjs.com/package/@plasius/gpu-lighting)
|
|
4
|
+
[](https://github.com/Plasius-LTD/gpu-lighting/actions/workflows/ci.yml)
|
|
5
|
+
[](https://codecov.io/gh/Plasius-LTD/gpu-lighting)
|
|
6
|
+
[](./LICENSE)
|
|
7
|
+
[](./CODE_OF_CONDUCT.md)
|
|
8
|
+
[](./SECURITY.md)
|
|
9
|
+
[](./CHANGELOG.md)
|
|
10
|
+
|
|
4
11
|
[](./LICENSE)
|
|
5
12
|
|
|
6
13
|
Advanced lighting WGSL modules and planning profiles for `@plasius/gpu-worker`.
|
|
@@ -91,6 +98,16 @@ npm run demo
|
|
|
91
98
|
|
|
92
99
|
Then open `http://localhost:8000/gpu-lighting/demo/`.
|
|
93
100
|
|
|
101
|
+
## Development Checks
|
|
102
|
+
|
|
103
|
+
```sh
|
|
104
|
+
npm run lint
|
|
105
|
+
npm run typecheck
|
|
106
|
+
npm run test:coverage
|
|
107
|
+
npm run build
|
|
108
|
+
npm run pack:check
|
|
109
|
+
```
|
|
110
|
+
|
|
94
111
|
## Files
|
|
95
112
|
|
|
96
113
|
- `src/index.js`: technique/profile catalogs, loader APIs, validation.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/gpu-lighting",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Advanced lighting WGSL modules and planning profiles for @plasius/gpu-worker.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -26,10 +26,18 @@
|
|
|
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",
|
|
30
|
+
"audit:eslint": "eslint . --max-warnings=0",
|
|
31
|
+
"audit:deps": "npm ls --all --omit=optional --omit=peer > /dev/null 2>&1 || true",
|
|
32
|
+
"audit:npm": "npm audit --audit-level=high --omit=dev",
|
|
33
|
+
"audit:test": "npm run test:coverage",
|
|
34
|
+
"lint": "eslint . --max-warnings=0",
|
|
29
35
|
"test": "npm run test:unit",
|
|
30
36
|
"test:unit": "node --test",
|
|
31
37
|
"test:e2e": "npx playwright install chromium && playwright test",
|
|
32
|
-
"test:coverage": "c8 --reporter=lcov --reporter=text node --test"
|
|
38
|
+
"test:coverage": "c8 --reporter=lcov --reporter=text node --test",
|
|
39
|
+
"pack:check": "node scripts/verify-public-package.cjs",
|
|
40
|
+
"prepublishOnly": "npm run build && npm run pack:check"
|
|
33
41
|
},
|
|
34
42
|
"keywords": [
|
|
35
43
|
"webgpu",
|
|
@@ -46,8 +54,11 @@
|
|
|
46
54
|
"author": "Plasius LTD <development@plasius.co.uk>",
|
|
47
55
|
"license": "Apache-2.0",
|
|
48
56
|
"devDependencies": {
|
|
57
|
+
"@eslint/js": "^9.39.1",
|
|
49
58
|
"@playwright/test": "^1.57.0",
|
|
50
59
|
"c8": "^10.1.3",
|
|
60
|
+
"eslint": "^9.39.1",
|
|
61
|
+
"globals": "^17.3.0",
|
|
51
62
|
"tsup": "^8.5.0",
|
|
52
63
|
"typescript": "^5.9.3"
|
|
53
64
|
},
|
|
@@ -73,6 +84,9 @@
|
|
|
73
84
|
}
|
|
74
85
|
],
|
|
75
86
|
"dependencies": {
|
|
76
|
-
"@plasius/gpu-worker": "^0.1.
|
|
87
|
+
"@plasius/gpu-worker": "^0.1.3"
|
|
88
|
+
},
|
|
89
|
+
"overrides": {
|
|
90
|
+
"minimatch": "^10.2.1"
|
|
77
91
|
}
|
|
78
92
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|