@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
|
@@ -1 +1,32 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>VelocityBufferPluginPass | WebGi Rendering Plugins</title><meta name="description" content="Documentation for WebGi Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>VelocityBufferPluginPass | WebGi Rendering Plugins</title><meta name="description" content="Documentation for WebGi Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">WebGi Rendering Plugins</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">VelocityBufferPluginPass</a></li></ul>
|
|
12
|
+
<h1>Type Alias VelocityBufferPluginPass</h1></div>
|
|
13
|
+
<div class="tsd-signature"><span class="tsd-kind-type-alias">VelocityBufferPluginPass</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GBufferRenderPass</span><span class="tsd-signature-symbol"><</span><br/> <span class="tsd-signature-type">"velocityBuffer"</span><span class="tsd-signature-symbol">,</span><br/> <a href="VelocityBufferPluginTarget.html" class="tsd-signature-type tsd-kind-type-alias">VelocityBufferPluginTarget</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
14
|
+
<ul>
|
|
15
|
+
<li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/webgi-plugins/src/plugins/buffer/VelocityBufferPlugin.ts#L40" class="external" target="_blank">plugins/webgi-plugins/src/plugins/buffer/VelocityBufferPlugin.ts:40</a></li></ul></aside></div>
|
|
16
|
+
<div class="col-sidebar">
|
|
17
|
+
<div class="page-menu">
|
|
18
|
+
<div class="tsd-navigation settings">
|
|
19
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
20
|
+
<h3>Settings</h3></summary>
|
|
21
|
+
<div class="tsd-accordion-details">
|
|
22
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
23
|
+
<ul id="tsd-filter-options">
|
|
24
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
25
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div>
|
|
26
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
27
|
+
<div class="site-menu">
|
|
28
|
+
<nav class="tsd-navigation"><a href="../index.html">WebGi Rendering Plugins</a>
|
|
29
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
30
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
31
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
32
|
+
<div class="overlay"></div></body></html>
|
|
@@ -1 +1,32 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>VelocityBufferPluginTarget | WebGi Rendering Plugins</title><meta name="description" content="Documentation for WebGi Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>VelocityBufferPluginTarget | WebGi Rendering Plugins</title><meta name="description" content="Documentation for WebGi Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">WebGi Rendering Plugins</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">VelocityBufferPluginTarget</a></li></ul>
|
|
12
|
+
<h1>Type Alias VelocityBufferPluginTarget</h1></div>
|
|
13
|
+
<div class="tsd-signature"><span class="tsd-kind-type-alias">VelocityBufferPluginTarget</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs" class="tsd-signature-type external" target="_blank">WebGLRenderTarget</a></div><aside class="tsd-sources">
|
|
14
|
+
<ul>
|
|
15
|
+
<li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/webgi-plugins/src/plugins/buffer/VelocityBufferPlugin.ts#L39" class="external" target="_blank">plugins/webgi-plugins/src/plugins/buffer/VelocityBufferPlugin.ts:39</a></li></ul></aside></div>
|
|
16
|
+
<div class="col-sidebar">
|
|
17
|
+
<div class="page-menu">
|
|
18
|
+
<div class="tsd-navigation settings">
|
|
19
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
20
|
+
<h3>Settings</h3></summary>
|
|
21
|
+
<div class="tsd-accordion-details">
|
|
22
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
23
|
+
<ul id="tsd-filter-options">
|
|
24
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
25
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div>
|
|
26
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
27
|
+
<div class="site-menu">
|
|
28
|
+
<nav class="tsd-navigation"><a href="../index.html">WebGi Rendering Plugins</a>
|
|
29
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
30
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
31
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
32
|
+
<div class="overlay"></div></body></html>
|
|
@@ -1 +1,43 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>anisotropyGLTFExtension | WebGi Rendering Plugins</title><meta name="description" content="Documentation for WebGi Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>anisotropyGLTFExtension | WebGi Rendering Plugins</title><meta name="description" content="Documentation for WebGi Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">WebGi Rendering Plugins</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">anisotropyGLTFExtension</a></li></ul>
|
|
12
|
+
<h1>Variable anisotropyGLTFExtension<code class="tsd-tag">Const</code></h1></div>
|
|
13
|
+
<div class="tsd-signature"><span class="tsd-kind-variable">anisotropyGLTFExtension</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/> <span class="tsd-kind-property">export</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">w</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GLTFWriter2</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">writeMaterial</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">material</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">materialDef</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">import</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">p</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs" class="tsd-signature-type external" target="_blank">GLTFParser</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">GLTFMaterialsAnisotropyExtensionImport</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-kind-property">textures</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">anisotropyDirection</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
14
|
+
<div class="tsd-type-declaration">
|
|
15
|
+
<h4>Type Declaration</h4>
|
|
16
|
+
<ul class="tsd-parameters">
|
|
17
|
+
<li class="tsd-parameter">
|
|
18
|
+
<h5 id="export"><span class="tsd-kind-property">export</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">w</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GLTFWriter2</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">writeMaterial</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">material</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">materialDef</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">}</span></h5></li>
|
|
19
|
+
<li class="tsd-parameter">
|
|
20
|
+
<h5 id="import"><span class="tsd-kind-property">import</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">p</span><span class="tsd-signature-symbol">:</span> <a href="https://threejs.org/docs" class="tsd-signature-type external" target="_blank">GLTFParser</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">GLTFMaterialsAnisotropyExtensionImport</span></h5></li>
|
|
21
|
+
<li class="tsd-parameter">
|
|
22
|
+
<h5 id="name"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li>
|
|
23
|
+
<li class="tsd-parameter">
|
|
24
|
+
<h5 id="textures"><span class="tsd-kind-property">textures</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">anisotropyDirection</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">}</span></h5></li></ul></div><aside class="tsd-sources">
|
|
25
|
+
<ul>
|
|
26
|
+
<li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/webgi-plugins/src/plugins/extras/AnisotropyPlugin.ts#L512" class="external" target="_blank">plugins/webgi-plugins/src/plugins/extras/AnisotropyPlugin.ts:512</a></li></ul></aside></div>
|
|
27
|
+
<div class="col-sidebar">
|
|
28
|
+
<div class="page-menu">
|
|
29
|
+
<div class="tsd-navigation settings">
|
|
30
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
31
|
+
<h3>Settings</h3></summary>
|
|
32
|
+
<div class="tsd-accordion-details">
|
|
33
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
34
|
+
<ul id="tsd-filter-options">
|
|
35
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
36
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div>
|
|
37
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
38
|
+
<div class="site-menu">
|
|
39
|
+
<nav class="tsd-navigation"><a href="../index.html">WebGi Rendering Plugins</a>
|
|
40
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
41
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
42
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
43
|
+
<div class="overlay"></div></body></html>
|
|
@@ -1 +1,32 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>webgiPlugins | WebGi Rendering Plugins</title><meta name="description" content="Documentation for WebGi Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>webgiPlugins | WebGi Rendering Plugins</title><meta name="description" content="Documentation for WebGi Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">WebGi Rendering Plugins</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">webgiPlugins</a></li></ul>
|
|
12
|
+
<h1>Variable webgiPlugins<code class="tsd-tag">Const</code></h1></div>
|
|
13
|
+
<div class="tsd-signature"><span class="tsd-kind-variable">webgiPlugins</span><span class="tsd-signature-symbol">:</span> (<br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../classes/TemporalAAPlugin.html" class="tsd-signature-type tsd-kind-class">TemporalAAPlugin</a><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../classes/VelocityBufferPlugin.html" class="tsd-signature-type tsd-kind-class">VelocityBufferPlugin</a><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../classes/BloomPlugin.html" class="tsd-signature-type tsd-kind-class">BloomPlugin</a><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../classes/SSReflectionPlugin.html" class="tsd-signature-type tsd-kind-class">SSReflectionPlugin</a><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../classes/SSContactShadowsPlugin.html" class="tsd-signature-type tsd-kind-class">SSContactShadowsPlugin</a><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../classes/DepthOfFieldPlugin.html" class="tsd-signature-type tsd-kind-class">DepthOfFieldPlugin</a><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../classes/OutlinePlugin.html" class="tsd-signature-type tsd-kind-class">OutlinePlugin</a><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../classes/SSGIPlugin.html" class="tsd-signature-type tsd-kind-class">SSGIPlugin</a><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../classes/AnisotropyPlugin.html" class="tsd-signature-type tsd-kind-class">AnisotropyPlugin</a><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../classes/AdvancedGroundPlugin.html" class="tsd-signature-type tsd-kind-class">AdvancedGroundPlugin</a><br/> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../classes/WatchHandsPlugin.html" class="tsd-signature-type tsd-kind-class">WatchHandsPlugin</a><br/>)<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
|
|
14
|
+
<ul>
|
|
15
|
+
<li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/webgi-plugins/src/plugins/index.ts#L26" class="external" target="_blank">plugins/webgi-plugins/src/plugins/index.ts:26</a></li></ul></aside></div>
|
|
16
|
+
<div class="col-sidebar">
|
|
17
|
+
<div class="page-menu">
|
|
18
|
+
<div class="tsd-navigation settings">
|
|
19
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
20
|
+
<h3>Settings</h3></summary>
|
|
21
|
+
<div class="tsd-accordion-details">
|
|
22
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
23
|
+
<ul id="tsd-filter-options">
|
|
24
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
25
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div>
|
|
26
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
27
|
+
<div class="site-menu">
|
|
28
|
+
<nav class="tsd-navigation"><a href="../index.html">WebGi Rendering Plugins</a>
|
|
29
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
30
|
+
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
31
|
+
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
32
|
+
<div class="overlay"></div></body></html>
|
package/package.json
CHANGED
|
@@ -207,11 +207,11 @@ export class BloomPluginPass<Tid extends IPassID> extends ExtendedShaderPass imp
|
|
|
207
207
|
@serialize() softThreshold = 0.5
|
|
208
208
|
|
|
209
209
|
@uiSlider('Intensity', [0, 3])
|
|
210
|
-
@serialize() @uniform() intensity = 0.2
|
|
210
|
+
@serialize() @uniform({onChange: BloomPluginPass.prototype.setDirty}) intensity = 0.2
|
|
211
211
|
|
|
212
212
|
@uiToggle('Background Bloom')
|
|
213
213
|
@serialize()
|
|
214
|
-
@matDefineBool('BACKGROUND_BLOOM')
|
|
214
|
+
@matDefineBool('BACKGROUND_BLOOM', undefined, undefined, BloomPluginPass.prototype.setDirty)
|
|
215
215
|
backgroundBloom = false
|
|
216
216
|
|
|
217
217
|
@uiSlider('Iterations', [2, 7], 1)
|
|
@@ -233,9 +233,12 @@ export class BloomPluginPass<Tid extends IPassID> extends ExtendedShaderPass imp
|
|
|
233
233
|
this.prefilter.y = this.softThreshold
|
|
234
234
|
this.prefilter.z = 2 * this.prefilter.x * this.prefilter.y
|
|
235
235
|
this.prefilter.w = this.uniforms?.prefilter ? .125 / (this.uniforms.prefilter.value.z + 0.00001) : 0
|
|
236
|
+
// the prefilter vector changes in place, so its uniform setter does not run: render again
|
|
237
|
+
this.setDirty()
|
|
236
238
|
}
|
|
237
239
|
|
|
238
240
|
@uiToggle('Debug')
|
|
241
|
+
@onChange2(BloomPluginPass.prototype.setDirty)
|
|
239
242
|
bloomDebug = false
|
|
240
243
|
|
|
241
244
|
private _weights: any = []
|
|
@@ -324,15 +324,15 @@ export class DepthOfFieldPluginPass<Tid extends IPassID> extends ExtendedShaderP
|
|
|
324
324
|
public dofBlurMaterial: ExtendedShaderMaterial = dofBlurMaterialPoisson
|
|
325
325
|
// public dofBlurMaterialBox: ShaderMaterialEncodingSupport = dofBlurMaterialBox
|
|
326
326
|
|
|
327
|
-
@bindToValue({obj: 'focalDepthRange', key: 'y'})
|
|
327
|
+
@bindToValue({obj: 'focalDepthRange', key: 'y', onChange: 'setDirty'})
|
|
328
328
|
@uiSlider('Depth Range', [0.25, 3])
|
|
329
329
|
depthRange: number
|
|
330
330
|
|
|
331
|
-
@bindToValue({obj: 'nearFarBlurScale', key: 'x'})
|
|
331
|
+
@bindToValue({obj: 'nearFarBlurScale', key: 'x', onChange: 'setDirty'})
|
|
332
332
|
@uiSlider('Near Blur Scale', [0, 1])
|
|
333
333
|
nearBlurScale: number
|
|
334
334
|
|
|
335
|
-
@bindToValue({obj: 'nearFarBlurScale', key: 'y'})
|
|
335
|
+
@bindToValue({obj: 'nearFarBlurScale', key: 'y', onChange: 'setDirty'})
|
|
336
336
|
@uiSlider('Far Blur Scale', [0, 1])
|
|
337
337
|
farBlurScale: number
|
|
338
338
|
|