@tresjs/post-processing 3.2.0 → 3.2.3
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @tresjs/post-processing
|
|
3
|
-
* version: v3.2.
|
|
4
|
-
* (c)
|
|
3
|
+
* version: v3.2.3
|
|
4
|
+
* (c) 2026
|
|
5
5
|
* description: Post-processing library for TresJS
|
|
6
6
|
* author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
|
|
7
7
|
*/
|
|
@@ -2331,7 +2331,7 @@ var ASCIIPmndrs_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
2331
2331
|
setup(__props, { expose: __expose }) {
|
|
2332
2332
|
const props = __props;
|
|
2333
2333
|
const plainEffect = new ASCIIEffect();
|
|
2334
|
-
const { asciiTexture
|
|
2334
|
+
const { asciiTexture, ...asciiEffectProps } = props;
|
|
2335
2335
|
const { pass, effect } = useEffectPmndrs(() => new ASCIIEffect(asciiEffectProps), props);
|
|
2336
2336
|
__expose({
|
|
2337
2337
|
pass,
|
|
@@ -2673,7 +2673,7 @@ var UnrealBloom_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
|
|
|
2673
2673
|
setup(__props, { expose: __expose }) {
|
|
2674
2674
|
const props = __props;
|
|
2675
2675
|
const { sizes } = useTresContext();
|
|
2676
|
-
const { pass } = useEffect(() => new UnrealBloomPass(new Vector2(sizes.width.value, sizes.height.value), props.
|
|
2676
|
+
const { pass } = useEffect(() => new UnrealBloomPass(new Vector2(sizes.width.value, sizes.height.value), props.strength, props.radius, props.threshold), props);
|
|
2677
2677
|
__expose({ pass });
|
|
2678
2678
|
watchEffect(() => {
|
|
2679
2679
|
pass.value.radius = props.radius ?? pass.value.getCompositeMaterial().uniforms.bloomRadius?.value ?? .1;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tresjs/post-processing",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.3",
|
|
5
5
|
"description": "Post-processing library for TresJS",
|
|
6
6
|
"author": "Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@tresjs/core": "5.
|
|
42
|
+
"@tresjs/core": "5.3.1",
|
|
43
43
|
"three": ">=0.169",
|
|
44
44
|
"vue": ">=3.4"
|
|
45
45
|
},
|
|
@@ -56,16 +56,16 @@
|
|
|
56
56
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
57
57
|
"rollup-plugin-visualizer": "^6.0.3",
|
|
58
58
|
"three": "^0.180.0",
|
|
59
|
-
"tsdown": "0.
|
|
59
|
+
"tsdown": "0.18.3",
|
|
60
60
|
"typescript": "^5.8.3",
|
|
61
61
|
"vite": "^7.1.9",
|
|
62
62
|
"vite-plugin-banner": "^0.8.1",
|
|
63
63
|
"vite-plugin-dts": "4.5.4",
|
|
64
64
|
"vue": "^3.5.22",
|
|
65
|
-
"vue-tsc": "^3.
|
|
65
|
+
"vue-tsc": "^3.2.1",
|
|
66
|
+
"@tresjs/core": "5.3.1",
|
|
66
67
|
"@tresjs/eslint-config": "1.5.1",
|
|
67
|
-
"@tresjs/leches": "1.1.
|
|
68
|
-
"@tresjs/core": "5.2.1"
|
|
68
|
+
"@tresjs/leches": "1.1.4"
|
|
69
69
|
},
|
|
70
70
|
"nx": {
|
|
71
71
|
"implicitDependencies": [
|