@threepipe/webgi-plugins 0.7.0 → 0.8.0
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 +8 -2
- package/LICENSE +133 -16
- package/README.md +21 -8
- package/THIRD_PARTY_NOTICES.md +1 -1
- package/dist/index.js +3804 -4433
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3683 -4404
- package/dist/index.mjs.map +1 -1
- package/dist/passes/BilateralFilterPass.d.ts +1 -1
- package/dist/passes/BilateralFilterPass.d.ts.map +1 -1
- package/dist/plugins/buffer/VelocityBufferPlugin.d.ts.map +1 -1
- package/dist/plugins/extras/AdvancedGroundPlugin.d.ts +1 -1
- package/dist/plugins/extras/AdvancedGroundPlugin.d.ts.map +1 -1
- package/dist/plugins/extras/AnisotropyPlugin.d.ts +5 -4
- package/dist/plugins/extras/AnisotropyPlugin.d.ts.map +1 -1
- package/dist/plugins/extras/WatchHandsPlugin.d.ts +1 -1
- package/dist/plugins/extras/WatchHandsPlugin.d.ts.map +1 -1
- package/dist/plugins/index.d.ts +9 -9
- package/dist/plugins/postprocessing/BloomPlugin.d.ts.map +1 -1
- package/dist/plugins/postprocessing/DepthOfFieldPlugin.d.ts.map +1 -1
- package/dist/plugins/postprocessing/OutlinePlugin.d.ts +1 -1
- package/dist/plugins/postprocessing/OutlinePlugin.d.ts.map +1 -1
- package/dist/plugins/postprocessing/SSContactShadowsPlugin.d.ts.map +1 -1
- package/dist/plugins/postprocessing/SSGIPlugin.d.ts +1 -1
- package/dist/plugins/postprocessing/SSGIPlugin.d.ts.map +1 -1
- package/dist/plugins/postprocessing/SSReflectionPlugin.d.ts.map +1 -1
- package/dist/plugins/postprocessing/TemporalAAPlugin.d.ts.map +1 -1
- package/dist/utils/FSShadowMaterial.d.ts.map +1 -1
- package/dist/utils/RandomizedDirectionalLight.d.ts.map +1 -1
- package/dist/utils/Reflector2.d.ts +4 -4
- package/dist/utils/Reflector2.d.ts.map +1 -1
- package/dist/utils/ShadowMapBaker.d.ts +1 -1
- package/dist/utils/ShadowMapBaker.d.ts.map +1 -1
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +1 -1
- package/docs/assets/icons.js +1 -1
- package/docs/assets/icons.svg +1 -1
- package/docs/assets/main.js +4 -4
- package/docs/assets/style.css +18 -3
- package/docs/classes/AdvancedGroundPlugin.html +678 -11
- package/docs/classes/AnisotropyPlugin.html +400 -8
- package/docs/classes/BloomPlugin.html +436 -7
- package/docs/classes/BloomPluginPass.html +301 -12
- package/docs/classes/DepthOfFieldPlugin.html +459 -7
- package/docs/classes/DepthOfFieldPluginPass.html +315 -12
- package/docs/classes/OutlinePlugin.html +632 -11
- package/docs/classes/OutlineRenderPass.html +239 -12
- package/docs/classes/SSContactShadowsPlugin.html +390 -6
- package/docs/classes/SSGIPlugin.html +454 -8
- package/docs/classes/SSGIPluginPass.html +372 -12
- package/docs/classes/SSReflectionPlugin.html +460 -8
- package/docs/classes/SSReflectionPluginPass.html +377 -12
- package/docs/classes/SSVelocityMaterial.html +108 -5
- package/docs/classes/TemporalAAPlugin.html +418 -8
- package/docs/classes/TemporalAAPluginPass.html +317 -13
- package/docs/classes/VelocityBufferPlugin.html +446 -7
- package/docs/classes/WatchHandsPlugin.html +410 -6
- package/docs/hierarchy.html +28 -1
- package/docs/index.html +38 -1
- package/docs/types/OutlinePluginPass.html +32 -1
- package/docs/types/OutlinePluginTarget.html +32 -1
- package/docs/types/SSGIPluginTarget.html +32 -1
- package/docs/types/SSReflectionPluginTarget.html +32 -1
- package/docs/types/VelocityBufferPluginPass.html +32 -1
- package/docs/types/VelocityBufferPluginTarget.html +32 -1
- package/docs/variables/anisotropyGLTFExtension.html +43 -1
- package/docs/variables/webgiPlugins.html +32 -1
- package/package.json +1 -1
- package/src/plugins/postprocessing/BloomPlugin.ts +5 -2
- package/src/plugins/postprocessing/DepthOfFieldPlugin.ts +3 -3
- package/tsconfig.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,9 +6,15 @@ All notable changes to this plugin will be documented in this file.
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
## [0.8.0] - 2026-12-01
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- License: the webgi Free Forever License replaces the modified GNU GPL-3.0-only notice, from 0.8.0 (including its prereleases, such as 0.8.0-r172.1); see LICENSE and THIRD_PARTY_NOTICES.md. Releases up to 0.7.0 keep the license they carried
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
10
16
|
|
|
11
|
-
-
|
|
17
|
+
- `BloomPlugin` and `DepthOfFieldPlugin`: setting a setting of their pass in code renders again: the bloom Threshold, Soft Threshold, Intensity, Background Bloom and Debug, and the depth of field Depth Range, Near and Far Blur Scale. They changed only the shader values, so a viewer at rest showed the change only at its next render; the Tweakpane panel hid it because its own change marks the viewer dirty. They now call `setDirty` like the settings of `SSAOPluginPass`
|
|
12
18
|
|
|
13
19
|
## [0.7.0] - 2026-10-24
|
|
14
20
|
|
package/LICENSE
CHANGED
|
@@ -1,24 +1,141 @@
|
|
|
1
|
-
|
|
1
|
+
webgi Free Forever License
|
|
2
|
+
Version 1.0, effective 2026-11-26
|
|
2
3
|
|
|
3
|
-
Copyright (
|
|
4
|
+
Copyright (c) 2023-present Palash Bansal <palash@shaders.app>
|
|
4
5
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
In short (the terms below govern if this summary differs):
|
|
7
|
+
- Free for any use, commercial and closed source included, with no limit on clients, domains,
|
|
8
|
+
traffic or revenue. Attribution is optional.
|
|
9
|
+
- Keep this license, or a link to it, in your notices.
|
|
10
|
+
- Do not publish or sell the Plugins as a library, SDK or package for other developers, and do
|
|
11
|
+
not claim that you wrote them.
|
|
12
|
+
- This is a source-available license. It is not an OSI-approved open source license.
|
|
9
13
|
|
|
10
|
-
|
|
11
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
GNU General Public License for more details.
|
|
14
|
+
SPDX-License-Identifier: LicenseRef-webgi-FFL-1.0
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
16
|
+
1. Definitions
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
"Plugins" means the software published as the npm package "@threepipe/webgi-plugins", version
|
|
19
|
+
0.8.0 and later, including its prereleases (such as 0.8.0-r172.1), as published by the Licensor, and its source code in the
|
|
20
|
+
"plugins/webgi-plugins" folder of the threepipe repository. The term covers source and compiled
|
|
21
|
+
forms, with or without your modifications.
|
|
19
22
|
|
|
20
|
-
|
|
23
|
+
"Application" means software or a service that you make with the Plugins and offer to its
|
|
24
|
+
users: for example a website, a web, native or desktop application, a hosted service or
|
|
25
|
+
viewer, an editor, a game or rendering engine, or a theme or template that end users install.
|
|
26
|
+
An Application can have its own API, plugin system, scripting or embed code, and its users can
|
|
27
|
+
build content and products with it.
|
|
21
28
|
|
|
22
|
-
|
|
29
|
+
"Library Copy" means a copy of the Plugins, modified or not, that you offer to others to
|
|
30
|
+
import, require or install into their own code, as a package, module or file.
|
|
23
31
|
|
|
24
|
-
|
|
32
|
+
"Official Package" means the Plugins as the Licensor publishes them on npm.
|
|
33
|
+
|
|
34
|
+
"You" means the person or organization that exercises rights under this license, including
|
|
35
|
+
the organization you act for.
|
|
36
|
+
|
|
37
|
+
"Licensor" means Palash Bansal and his successors and assigns.
|
|
38
|
+
|
|
39
|
+
2. Grant
|
|
40
|
+
|
|
41
|
+
The Licensor grants you a perpetual, worldwide, non-exclusive, royalty-free license to use,
|
|
42
|
+
copy, modify, bundle, run and distribute the Plugins, for any purpose, subject to Section 3.
|
|
43
|
+
The license is irrevocable except as Section 7 says.
|
|
44
|
+
|
|
45
|
+
This includes personal, educational and commercial use. It includes closed-source and
|
|
46
|
+
proprietary Applications. There is no limit on the number of Applications, clients, domains,
|
|
47
|
+
viewers, page views or revenue.
|
|
48
|
+
|
|
49
|
+
You do not have to publish your own source code because the Plugins are in your Application.
|
|
50
|
+
You do not have to show a logo, name or link. A mention such as "rendering powered by webgi"
|
|
51
|
+
is appreciated and optional.
|
|
52
|
+
|
|
53
|
+
The Licensor also grants you a license under any patent claims it holds that the Plugins alone
|
|
54
|
+
infringe, to the extent needed to exercise the rights above. This patent license ends if you
|
|
55
|
+
bring a patent claim, including a cross-claim or counterclaim, that alleges the Plugins
|
|
56
|
+
infringe a patent.
|
|
57
|
+
|
|
58
|
+
3. Restriction
|
|
59
|
+
|
|
60
|
+
You must not:
|
|
61
|
+
|
|
62
|
+
a. publish or distribute a Library Copy. Only the Licensor publishes the Official Package;
|
|
63
|
+
b. include the Plugins in a library, SDK, framework or starter kit that developers install
|
|
64
|
+
into their own code. Such work must declare the Official Package as a dependency and keep it
|
|
65
|
+
out of its own published build. The API, plugin system or embed code of an Application is
|
|
66
|
+
not such work, even when its features use the Plugins, if it does not offer the Plugins' own
|
|
67
|
+
classes or modules for import;
|
|
68
|
+
c. claim that you wrote or own the Plugins, or present them as your own rendering
|
|
69
|
+
technology;
|
|
70
|
+
d. charge for the Plugins as such. A fee for your Application, or for its features that use
|
|
71
|
+
the Plugins, is allowed.
|
|
72
|
+
|
|
73
|
+
The following are allowed:
|
|
74
|
+
|
|
75
|
+
- an Application, for one client or for many, open or closed source, with the Plugins in any
|
|
76
|
+
form (bundled, minified, tree-shaken or as separate files), served from any host or CDN that
|
|
77
|
+
serves the Application, or committed as build output in your repository. Files that your
|
|
78
|
+
Application loads are not a Library Copy, even at a public URL, if you do not offer them to
|
|
79
|
+
others to load into their own code;
|
|
80
|
+
- loading the unmodified Official Package from a public mirror of the npm registry, such as
|
|
81
|
+
unpkg, jsDelivr or esm.sh;
|
|
82
|
+
- a public or private fork of the threepipe repository. A package that you publish from the
|
|
83
|
+
fork must not contain the Plugins;
|
|
84
|
+
- a private registry, proxy or cache that serves the Official Package only to your own team;
|
|
85
|
+
- unmodified copies of the Official Package, with this LICENSE file inside, in a project
|
|
86
|
+
archive, container image or node_modules folder that you share;
|
|
87
|
+
- not naming webgi in your product.
|
|
88
|
+
|
|
89
|
+
4. Notices
|
|
90
|
+
|
|
91
|
+
Keep this license text, or a link to it, in a notices file or licenses page of your
|
|
92
|
+
Application, such as THIRD_PARTY_LICENSES. The text is in the LICENSE file of the Official
|
|
93
|
+
Package and at https://unpkg.com/@threepipe/webgi-plugins@0.8.0-r172.1/LICENSE. Your build tools can
|
|
94
|
+
remove comments from compiled code.
|
|
95
|
+
|
|
96
|
+
5. Trademarks
|
|
97
|
+
|
|
98
|
+
This license grants no rights to the names or logos "webgi", "threepipe" or "iJewel3D". You
|
|
99
|
+
can say that your product uses webgi or threepipe.
|
|
100
|
+
|
|
101
|
+
6. Contributions
|
|
102
|
+
|
|
103
|
+
If you submit a change to the Licensor for inclusion in the Plugins, for example as a pull
|
|
104
|
+
request, you grant the Licensor a perpetual, worldwide, irrevocable, non-exclusive,
|
|
105
|
+
royalty-free, sublicensable license to use, modify, distribute and relicense your contribution
|
|
106
|
+
on any terms. You confirm that you have the right to grant it.
|
|
107
|
+
|
|
108
|
+
7. Termination
|
|
109
|
+
|
|
110
|
+
If you breach Section 3, your rights under this license end unless you cure the breach within
|
|
111
|
+
30 days after written notice from the Licensor, by email or as an issue on your repository. If
|
|
112
|
+
you knowingly breach Section 3 again within 12 months after a cure, your rights end on notice,
|
|
113
|
+
with no new cure period. Any other later breach of Section 3 gets its own 30-day cure period.
|
|
114
|
+
|
|
115
|
+
Termination does not affect Applications that you distributed in compliance with this license.
|
|
116
|
+
It does not affect people who received the Plugins from you; they hold their own license under
|
|
117
|
+
these terms.
|
|
118
|
+
|
|
119
|
+
8. Disclaimer of warranty and liability
|
|
120
|
+
|
|
121
|
+
TO THE EXTENT THE LAW ALLOWS, THE PLUGINS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
122
|
+
EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
|
123
|
+
PURPOSE AND NONINFRINGEMENT. IN NO EVENT IS THE LICENSOR LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
124
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
125
|
+
CONNECTION WITH THE PLUGINS OR THE USE OR OTHER DEALINGS IN THE PLUGINS.
|
|
126
|
+
|
|
127
|
+
9. General
|
|
128
|
+
|
|
129
|
+
Using the Plugins means you accept this license. Rights not granted here are reserved. If the
|
|
130
|
+
Licensor does not act on a breach, that is not a waiver. If a part of this license is
|
|
131
|
+
unenforceable, the rest stays in force, and that part is read as narrowly as needed to make
|
|
132
|
+
it enforceable.
|
|
133
|
+
|
|
134
|
+
10. Relation to other licenses and history
|
|
135
|
+
|
|
136
|
+
The threepipe core library is licensed separately under the Apache License 2.0. Third-party
|
|
137
|
+
components keep their own licenses and notices. Releases of "@threepipe/webgi-plugins" before
|
|
138
|
+
0.8.0 (up to 0.7.0) stay available under the license that each release carried. This license
|
|
139
|
+
applies from version 0.8.0, including its prereleases.
|
|
140
|
+
|
|
141
|
+
Contact: palash@shaders.app
|
package/README.md
CHANGED
|
@@ -12,13 +12,26 @@
|
|
|
12
12
|
|
|
13
13
|
## Licensing
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
All plugins in this package are **free forever**, for personal and commercial use, under the
|
|
16
|
+
[webgi Free Forever License](https://unpkg.com/@threepipe/webgi-plugins@0.8.0-r172.1/LICENSE) (also the LICENSE file in this package).
|
|
17
|
+
|
|
18
|
+
- Use, bundle and modify them in any application, closed source included, with no limit on
|
|
19
|
+
clients, domains, traffic or revenue.
|
|
20
|
+
- You do not have to publish your source code, and no visible attribution is required. A small
|
|
21
|
+
"rendering powered by webgi" note is appreciated but optional.
|
|
22
|
+
- Keep the license text or a link to it in your application's notices file
|
|
23
|
+
(THIRD_PARTY_LICENSES or similar).
|
|
24
|
+
- What you must not do: publish or distribute a copy of the plugins for other developers to
|
|
25
|
+
install in their own code (as a package, library, SDK or file), or present them as your own
|
|
26
|
+
rendering technology. Libraries and starter kits depend on this package instead. Any application
|
|
27
|
+
(website, viewer, editor, engine, hosted service) can ship them bundled, from any host or CDN.
|
|
28
|
+
- The license is source-available. It is not an OSI-approved open source license.
|
|
29
|
+
|
|
30
|
+
Paid jewellery plugins (Diamond, gemstones, inclusions, bevel, rainbow diamond) will be a
|
|
31
|
+
separate package, `@ijewel3d/threepipe-plugins`, under the iJewel3D SDK License. See
|
|
32
|
+
[ijewel3d.com/license](https://ijewel3d.com/license) and the
|
|
22
33
|
[licensing FAQ](https://developer.ijewel3d.com/introduction/licensing-faq.html).
|
|
23
34
|
|
|
24
|
-
|
|
35
|
+
Releases before 0.8.0 (up to 0.7.0) carried a GNU GPL v3 notice (from 0.5.0 with additional terms) and stay
|
|
36
|
+
available under the license each of them carried. That notice never matched the intent (free use in closed-source
|
|
37
|
+
apps). This license applies from version 0.8.0, including its prereleases.
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Third-party notices for @threepipe/webgi-plugins
|
|
2
2
|
|
|
3
|
-
This package is licensed under
|
|
3
|
+
This package is licensed under the webgi Free Forever License (see LICENSE). It contains or
|
|
4
4
|
adapts code from the following projects, which keep their own licenses and notices. The full
|
|
5
5
|
license texts are at the end of this file.
|
|
6
6
|
|