@tresjs/post-processing 3.7.4 → 3.9.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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @tresjs/post-processing
3
- * version: v3.7.4
3
+ * version: v3.9.0
4
4
  * (c) 2026
5
5
  * description: Post-processing library for TresJS
6
6
  * author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
@@ -74,6 +74,15 @@ interface BloomPmndrsProps {
74
74
  * @memberof BloomPmndrsProps
75
75
  */
76
76
  mipmapBlur?: boolean;
77
+ /**
78
+ * The blur radius of the mip map blur. Only has an effect when `mipmapBlur` is enabled. Range is [0, 1].
79
+ *
80
+ * @default 0.85
81
+ *
82
+ * @type {number}
83
+ * @memberof BloomPmndrsProps
84
+ */
85
+ radius?: number;
77
86
  }
78
87
  declare const _default$2: typeof __VLS_export$37;
79
88
  declare const __VLS_export$37: vue47.DefineComponent<BloomPmndrsProps, {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @tresjs/post-processing
3
- * version: v3.7.4
3
+ * version: v3.9.0
4
4
  * (c) 2026
5
5
  * description: Post-processing library for TresJS
6
6
  * author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
@@ -339,6 +339,10 @@ var BloomPmndrs_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
339
339
  type: Boolean,
340
340
  required: false,
341
341
  default: void 0
342
+ },
343
+ radius: {
344
+ type: Number,
345
+ required: false
342
346
  }
343
347
  },
344
348
  setup(__props, { expose: __expose }) {
@@ -353,7 +357,8 @@ var BloomPmndrs_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ de
353
357
  [() => props.intensity, "intensity"],
354
358
  [() => props.kernelSize, "kernelSize"],
355
359
  [() => props.luminanceSmoothing, "luminanceMaterial.smoothing"],
356
- [() => props.luminanceThreshold, "luminanceMaterial.threshold"]
360
+ [() => props.luminanceThreshold, "luminanceMaterial.threshold"],
361
+ [() => props.radius, "mipmapBlurPass.radius"]
357
362
  ], effect, () => new BloomEffect());
358
363
  return () => {};
359
364
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tresjs/post-processing",
3
3
  "type": "module",
4
- "version": "3.7.4",
4
+ "version": "3.9.0",
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.8.3",
42
+ "@tresjs/core": "5.9.1",
43
43
  "three": ">=0.169",
44
44
  "vue": ">=3.4"
45
45
  },
@@ -63,9 +63,9 @@
63
63
  "vite-plugin-dts": "4.5.4",
64
64
  "vue": "^3.5.38",
65
65
  "vue-tsc": "^3.3.4",
66
- "@tresjs/core": "5.8.3",
67
- "@tresjs/leches": "1.2.1",
68
- "@tresjs/eslint-config": "1.6.0"
66
+ "@tresjs/core": "5.9.1",
67
+ "@tresjs/eslint-config": "1.6.0",
68
+ "@tresjs/leches": "1.2.1"
69
69
  },
70
70
  "nx": {
71
71
  "implicitDependencies": [