+
+
diff --git a/docs/components.d.ts b/docs/components.d.ts
index 37d19677..29cb3605 100644
--- a/docs/components.d.ts
+++ b/docs/components.d.ts
@@ -7,6 +7,7 @@ export {}
/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
+ ASCIIDemo: typeof import('./.vitepress/theme/components/pmdrs/ASCIIDemo.vue')['default']
BarrelBlurDemo: typeof import('./.vitepress/theme/components/pmdrs/BarrelBlurDemo.vue')['default']
BlenderCube: typeof import('./.vitepress/theme/components/BlenderCube.vue')['default']
BloomDemo: typeof import('./.vitepress/theme/components/pmdrs/BloomDemo.vue')['default']
@@ -21,6 +22,7 @@ declare module 'vue' {
DotScreenDemo: typeof import('./.vitepress/theme/components/pmdrs/DotScreenDemo.vue')['default']
Ducky: typeof import('./.vitepress/theme/components/Ducky.vue')['default']
FishEyeDemo: typeof import('./.vitepress/theme/components/pmdrs/FishEyeDemo.vue')['default']
+ FXAADemo: typeof import('./.vitepress/theme/components/pmdrs/FXAADemo.vue')['default']
GlitchDemo: typeof import('./.vitepress/theme/components/pmdrs/GlitchDemo.vue')['default']
GlitchThreeDemo: typeof import('./.vitepress/theme/components/three/GlitchThreeDemo.vue')['default']
GodRaysDemo: typeof import('./.vitepress/theme/components/pmdrs/GodRaysDemo.vue')['default']
@@ -39,7 +41,9 @@ declare module 'vue' {
ScanlineDemo: typeof import('./.vitepress/theme/components/pmdrs/ScanlineDemo.vue')['default']
SepiaDemo: typeof import('./.vitepress/theme/components/pmdrs/SepiaDemo.vue')['default']
ShockWaveDemo: typeof import('./.vitepress/theme/components/pmdrs/ShockWaveDemo.vue')['default']
+ SMAADemo: typeof import('./.vitepress/theme/components/pmdrs/SMAADemo.vue')['default']
SMAAThreeDemo: typeof import('./.vitepress/theme/components/three/SMAAThreeDemo.vue')['default']
+ TextureDemo: typeof import('./.vitepress/theme/components/pmdrs/TextureDemo.vue')['default']
TiltShiftDemo: typeof import('./.vitepress/theme/components/pmdrs/TiltShiftDemo.vue')['default']
ToneMappingDemo: typeof import('./.vitepress/theme/components/pmdrs/ToneMappingDemo.vue')['default']
UnrealBloomThreeDemo: typeof import('./.vitepress/theme/components/three/UnrealBloomThreeDemo.vue')['default']
diff --git a/docs/guide/advanced/you-might-not-need-post-processing.md b/docs/guide/advanced/you-might-not-need-post-processing.md
new file mode 100644
index 00000000..6c1391e0
--- /dev/null
+++ b/docs/guide/advanced/you-might-not-need-post-processing.md
@@ -0,0 +1,5 @@
+# You might not need this module
+
+Please note that you can use [Tres.js's attach feature](https://docs.tresjs.org/advanced/attach.html#arrays) instead of this module. It enables you to utilize any effect provided by Three.js, even if there is no corresponding component in post-processing.
+
+We recommend using post-processing because the props of the effects are reactive. The attach feature does not offer prop reactivity. However, if you do not require that advantage, is is a valid option to achieve equal results.
diff --git a/docs/guide/pmndrs/ascii.md b/docs/guide/pmndrs/ascii.md
new file mode 100644
index 00000000..b33748c5
--- /dev/null
+++ b/docs/guide/pmndrs/ascii.md
@@ -0,0 +1,71 @@
+# ASCII
+
+
+
+
+
+
+ Demo code
+
+ <<< @/.vitepress/theme/components/pmdrs/ASCIIDemo.vue{0}
+
+
+The `ASCIIEffect` effect is part of the [`postprocessing`](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/ASCIIEffect.js~ASCIIEffect.html) package.
+This effect transforms the visual output into a grid of ASCII characters, offering a unique and artistic way to display 3D content. The ASCII characters used can be customized, allowing for a wide range of creative possibilities.
+
+## Usage
+
+The `` component is straightforward to integrate and offers a variety of customizable properties, allowing you to adapt it to diverse artistic and visual requirements.
+
+```vue{2,12-17,29-33}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+## Props
+
+| Prop | Description | Default |
+| -------------- | ----------------------------------------------------------------------------------------------- | --------------------------- |
+| blendFunction | Defines how the effect blends with the original scene. See the [`BlendFunction`](https://pmndrs.github.io/postprocessing/public/docs/variable/index.html#static-variable-BlendFunction) options. | `BlendFunction.NORMAL` |
+| opacity | The opacity of the effect. | `1.0` |
+| cellSize | The size of the ASCII grid cells. | `16` |
+| inverted | Controls whether the effect should be inverted. | `false` |
+| color | The color of the effect. Can be a [`Color`](https://threejs.org/docs/#api/en/math/Color), `string`, `number`, or `null`. If set to `null`, the colors of the scene will be used. | `null` |
+| useSceneColor | Controls whether the effect should use the scene color. If `true`, overrides the `color` prop. | `false` |
+| asciiTexture | Options for creating an ASCIITexture instance. | See the [`ASCIITexture`](https://pmndrs.github.io/postprocessing/public/docs/class/src/textures/ASCIITexture.js~ASCIITexture.html) documentation. |
+
+## Further Reading
+For more details, see the [ASCIIEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/ASCIIEffect.js~ASCIIEffect.html)
diff --git a/docs/guide/pmndrs/barrel-blur.md b/docs/guide/pmndrs/barrel-blur.md
index d30b12e1..bcb1318f 100644
--- a/docs/guide/pmndrs/barrel-blur.md
+++ b/docs/guide/pmndrs/barrel-blur.md
@@ -16,7 +16,7 @@ The `Barrel Blur` is a custom effect that applies a barrel distortion with chrom
The `` component is straightforward to use and provides customizable options to fine-tune the barrel blur effect.
-```vue{3,11-14,21-25}
+```vue{3,11-14,23-27}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
```
@@ -38,4 +46,4 @@ import { BloomPmndrs, EffectComposerPmndrs } from '@tresjs/post-processing'
| `mipMapBlur` | Enables mip map blur (UnrealBloom). | `false` |
## Further Reading
-see [postprocessing docs](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/BloomEffect.js~BloomEffect.html)
+For more details, see the [BloomEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/BloomEffect.js~BloomEffect.html)
diff --git a/docs/guide/pmndrs/brightness-contrast.md b/docs/guide/pmndrs/brightness-contrast.md
index 55dd85b0..9244d747 100644
--- a/docs/guide/pmndrs/brightness-contrast.md
+++ b/docs/guide/pmndrs/brightness-contrast.md
@@ -17,13 +17,12 @@ It adjusts the brightness and contrast of your scene.
The `` component is easy to use and provides customizable options to suit different visual styles.
-```vue{2,9-13,27-31}
+```vue{2,8-12,21-25}
-
+
-
-
-
-
+
@@ -62,4 +56,4 @@ const effectProps = {
| contrast | The contrast factor, where 0 means no change. Range: `[-1.0, 1.0]` | `0` |
## Further Reading
-For more details, see the [BrightnessContrast documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/BrightnessContrastEffect.js~BrightnessContrastEffect.html)
+For more details, see the [BrightnessContrastEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/BrightnessContrastEffect.js~BrightnessContrastEffect.html)
diff --git a/docs/guide/pmndrs/chromatic-aberration.md b/docs/guide/pmndrs/chromatic-aberration.md
index afee7c93..31a99874 100644
--- a/docs/guide/pmndrs/chromatic-aberration.md
+++ b/docs/guide/pmndrs/chromatic-aberration.md
@@ -16,7 +16,7 @@ The `ChromaticAberration` effect is part of the [`postprocessing`](https://pmndr
The `` component is easy to use and provides customizable options to suit different visual styles.
-```vue{2,10-14,21-25}
+```vue{2,10-14,23-27}
+
+
@@ -53,4 +55,4 @@ const effectProps = reactive({
| opacity | Sets the opacity of the color average effect. | `1` |
## Further Reading
-For more details, see the [ColorAverage documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/ColorAverageEffect.js~ColorAverageEffect.html)
+For more details, see the [ColorAverageEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/ColorAverageEffect.js~ColorAverageEffect.html)
diff --git a/docs/guide/pmndrs/color-depth.md b/docs/guide/pmndrs/color-depth.md
index 8f2f43c7..344903f6 100644
--- a/docs/guide/pmndrs/color-depth.md
+++ b/docs/guide/pmndrs/color-depth.md
@@ -17,13 +17,12 @@ It renders a ColorDepth that can be scaled or adjusted to achieve a variety of v
The `` component is easy to use and provides customizable options to suit different visual styles.
-```vue{2,9-13,25-29}
+```vue{2,8-12,21-25}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
```
@@ -34,4 +42,4 @@ import { DepthOfFieldPmndrs, EffectComposerPmndrs } from '@tresjs/post-processin
| `bokehScale` | The scale of the bokeh blur. | 1.0 |
## Further Reading
-see [postprocessing docs](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/DepthOfFieldEffect.js~DepthOfFieldEffect.html)
+For more details, see the [DepthOfFieldEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/DepthOfFieldEffect.js~DepthOfFieldEffect.html)
diff --git a/docs/guide/pmndrs/dot-screen.md b/docs/guide/pmndrs/dot-screen.md
index fddf5363..5cc3ee0c 100644
--- a/docs/guide/pmndrs/dot-screen.md
+++ b/docs/guide/pmndrs/dot-screen.md
@@ -16,7 +16,7 @@ The `DotScreen` effect is part of the [`postprocessing`](https://pmndrs.github.i
The `` component is straightforward to use and provides customizable options to fine-tune the dot screen effect.
-```vue{3,11-14,21-25}
+```vue{3,11-14,23-27}
+
+
@@ -56,4 +58,4 @@ const effectProps = reactive({
## Further Reading
-For more details, see the [DotScreen documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/DotScreenEffect.js~DotScreenEffect.html).
+For more details, see the [DotScreenEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/DotScreenEffect.js~DotScreenEffect.html).
diff --git a/docs/guide/pmndrs/fish-eye.md b/docs/guide/pmndrs/fish-eye.md
index bf9b6d3b..5bf155f6 100644
--- a/docs/guide/pmndrs/fish-eye.md
+++ b/docs/guide/pmndrs/fish-eye.md
@@ -16,7 +16,7 @@ The `FishEye` is a custom effect simulates the wide-angle distortion of a fish-e
The `` component is straightforward to use and provides customizable options to fine-tune the fish-eye effect.
-```vue{3,12-17,29-33}
+```vue{3,11-16,25-29}
@@ -40,10 +39,7 @@ const effectProps = {
-
-
-
-
+
diff --git a/docs/guide/pmndrs/fxaa.md b/docs/guide/pmndrs/fxaa.md
new file mode 100644
index 00000000..7940109f
--- /dev/null
+++ b/docs/guide/pmndrs/fxaa.md
@@ -0,0 +1,68 @@
+# FXAA
+
+
+
+
+
+
+ Demo code
+
+ <<< @/.vitepress/theme/components/pmdrs/FXAADemo.vue{0}
+
+
+The `FXAAEffect` effect is part of the [`postprocessing`](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/FXAAEffect.js~FXAAEffect.html) package.
+FXAA offers a performance-optimized anti-aliasing solution that smooths jagged edges while maintaining excellent performance. However, its quality may be modest at times, occasionally resulting in a slightly blurred appearance.
+
+## Usage
+
+The `` component is easy to use and provides customizable options to suit different visual styles.
+
+:::info
+When using the `` pipeline, enabling native antialiasing with the [`antialias`](https://docs.tresjs.org/api/tres-canvas.html#props) props on `` is unnecessary.
+:::
+
+```vue{2,12-14,23-27}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+## Props
+
+| Prop | Description | Default |
+| ------------- | ------------------------------------------------------------------- | --------------------------- |
+| blendFunction | Defines how the effect blends with the original scene. See the [`BlendFunction`](https://pmndrs.github.io/postprocessing/public/docs/variable/index.html#static-variable-BlendFunction) options. | `BlendFunction.SRC` |
+| opacity | The opacity of the effect. | `1` |
+| samples | The maximum amount of edge detection samples. | `12` |
+| minEdgeThreshold | The minimum edge detection threshold. Range: `[0.0, 1.0]`. | `0.0312` |
+| maxEdgeThreshold | The maximum edge detection threshold. Range: `[0.0, 1.0]`. | `0.125` |
+| subpixelQuality | The subpixel blend quality. Range: `[0.0, 1.0]`. | `0.75` |
+
+## Further Reading
+For more details, see the [FXAAEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/FXAAEffect.js~FXAAEffect.html)
diff --git a/docs/guide/pmndrs/glitch.md b/docs/guide/pmndrs/glitch.md
index 1e149135..e372d123 100644
--- a/docs/guide/pmndrs/glitch.md
+++ b/docs/guide/pmndrs/glitch.md
@@ -14,15 +14,23 @@ This effect may potentially cause epileptic seizures in people with photosensiti
## Usage
-```vue
+```vue{2,11-15}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
```
@@ -43,4 +51,4 @@ import { EffectComposerPmndrs, GlitchPmndrs } from '@tresjs/post-processing'
| `dtSize` | The size of the generated noise map. Will be ignored if a perturbation map is provided. | `64` |
## Further Reading
-see [postprocessing docs](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/GlitchEffect.js~GlitchEffect.html)
+For more details, see the [GlitchEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/GlitchEffect.js~GlitchEffect.html)
diff --git a/docs/guide/pmndrs/god-rays.md b/docs/guide/pmndrs/god-rays.md
index ed42e9a8..2ca94f04 100644
--- a/docs/guide/pmndrs/god-rays.md
+++ b/docs/guide/pmndrs/god-rays.md
@@ -16,49 +16,42 @@ The `GodRays` effect is part of the [`postprocessing`](https://pmndrs.github.io/
The `` component is easy to use and provides customizable options to suit different visual styles.
-```vue{5,17-21,40-44}
+```vue{4,13-17,30-37}
-
-
-
+
+
-
-
-
-
-
-
+
@@ -85,4 +78,4 @@ const effectProps = reactive({
| clampMax | An upper bound for the saturation of the overall effect. | `1.0` |
## Further Reading
-For more details, see the [GodRays documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/GodRaysEffect.js~GodRaysEffect.html)
+For more details, see the [GodRaysEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/GodRaysEffect.js~GodRaysEffect.html)
diff --git a/docs/guide/pmndrs/grid.md b/docs/guide/pmndrs/grid.md
index 52b2ca5a..74ee9898 100644
--- a/docs/guide/pmndrs/grid.md
+++ b/docs/guide/pmndrs/grid.md
@@ -17,13 +17,12 @@ It renders a grid that can be scaled or adjusted to achieve a variety of visual
The `` component is easy to use and provides customizable options to suit different visual styles.
-```vue{2,9-13,25-29}
+```vue{2,8-12,21-25}
+
+
diff --git a/docs/guide/pmndrs/lens-distortion.md b/docs/guide/pmndrs/lens-distortion.md
index 381d073b..3867e215 100644
--- a/docs/guide/pmndrs/lens-distortion.md
+++ b/docs/guide/pmndrs/lens-distortion.md
@@ -16,7 +16,7 @@ The `LensDistortion` effect is part of the [`postprocessing`](https://pmndrs.git
The `` component is straightforward to use and provides customizable options to fine-tune the distortion effect of your visuals.
-```vue{2,12-17,24-28}
+```vue{2,12-17,26-30}
+
+
diff --git a/docs/guide/pmndrs/noise.md b/docs/guide/pmndrs/noise.md
index 660c4ca7..995d26e5 100644
--- a/docs/guide/pmndrs/noise.md
+++ b/docs/guide/pmndrs/noise.md
@@ -8,20 +8,27 @@ Noise is an effect that adds Gaussian noise to the scene. This can be used to si
## Usage
-```vue
+```vue{2,12-19}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
```
@@ -33,4 +40,4 @@ import { BlendFunction } from 'postprocessing'
| `premultiply` | Indicates whether noise will be multiplied with the input colors prior to blending | `false` |
## Further Reading
-see [postprocessing docs](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/NoiseEffect.js~NoiseEffect.html)
+For more details, see the [NoiseEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/NoiseEffect.js~NoiseEffect.html)
diff --git a/docs/guide/pmndrs/outline.md b/docs/guide/pmndrs/outline.md
index f83782b2..e87d59b9 100644
--- a/docs/guide/pmndrs/outline.md
+++ b/docs/guide/pmndrs/outline.md
@@ -8,15 +8,23 @@ Outline is an effect that applies an outline to objects in your scene. This effe
## Usage
-```vue
+```vue{2,11-15}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
```
@@ -41,4 +49,4 @@ import { EffectComposerPmndrs, OutlinePmndrs } from '@tresjs/post-processing'
| visibleEdgeColor | The color of visible edges. | 0xffffff |
## Further Reading
-see [postprocessing docs](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/OutlineEffect.js~OutlineEffect.html)
+For more details, see the [OutlineEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/OutlineEffect.js~OutlineEffect.html)
diff --git a/docs/guide/pmndrs/pixelation.md b/docs/guide/pmndrs/pixelation.md
index b4330b04..87b4f139 100644
--- a/docs/guide/pmndrs/pixelation.md
+++ b/docs/guide/pmndrs/pixelation.md
@@ -8,15 +8,23 @@ Pixelation is an effect that pixelates the scene.
## Usage
-```vue
+```vue{2,11-15}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
```
@@ -27,4 +35,4 @@ import { EffectComposerPmndrs, PixelationPmndrs } from '@tresjs/post-processing'
| granularity | The granularity of the pixels. | 30 |
## Further Reading
-see [postprocessing docs](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/PixelationEffect.js~PixelationEffect.html)
+For more details, see the [PixelationEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/PixelationEffect.js~PixelationEffect.html)
diff --git a/docs/guide/pmndrs/scanline.md b/docs/guide/pmndrs/scanline.md
index 63a5a89e..707fc09a 100644
--- a/docs/guide/pmndrs/scanline.md
+++ b/docs/guide/pmndrs/scanline.md
@@ -16,7 +16,7 @@ The `Scanline` effect is part of the [`postprocessing`](https://pmndrs.github.io
The `` component is easy to use and provides customizable options to achieve the desired visual appearance.
-```vue{3,11-15,22-26}
+```vue{3,11-15,24-28}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+## Props
+
+| Prop | Description | Default |
+| ------------- | ------------------------------------------------------------------- | --------------------------- |
+| blendFunction | Defines how the effect blends with the original scene. See the [`BlendFunction`](https://pmndrs.github.io/postprocessing/public/docs/variable/index.html#static-variable-BlendFunction) options. | `BlendFunction.SRC` |
+| opacity | The opacity of the effect. | `1` |
+| preset | Define the quality and performance trade-offs. See the [`SMAAPreset`](https://pmndrs.github.io/postprocessing/public/docs/variable/index.html#static-variable-SMAAPreset) options. | `SMAAPreset.MEDIUM` |
+| edgeDetectionMode | Define the edge detection modes. See the [`EdgeDetectionMode`](https://pmndrs.github.io/postprocessing/public/docs/variable/index.html#static-variable-EdgeDetectionMode) options. | `EdgeDetectionMode.COLOR` |
+| predicationMode | Define the edge detection modes. See the [`PredicationMode`](https://pmndrs.github.io/postprocessing/public/docs/variable/index.html#static-variable-PredicationMode) options. | `PredicationMode.DISABLED` |
+| debug | Define the debug mode. Options: - `0` : OFF - `1` : EDGES - `2` : WEIGHTS | `0` (OFF) |
+
+## Further Reading
+For more details, see the [SMAAEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/SMAAEffect.js~SMAAEffect.html)
diff --git a/docs/guide/pmndrs/texture.md b/docs/guide/pmndrs/texture.md
new file mode 100644
index 00000000..5172c98f
--- /dev/null
+++ b/docs/guide/pmndrs/texture.md
@@ -0,0 +1,85 @@
+# Texture
+
+
+
+
+
+
+ Demo code
+
+ <<< @/.vitepress/theme/components/pmdrs/TextureDemo.vue{0}
+
+
+The `TextureEffect` component is part of the [`postprocessing`](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/TextureEffect.js~TextureEffect.html) package.
+It allows rendering a texture with customizable options to create various visual effects.
+
+## Usage
+
+The `` component is easy to use and provides customizable options to suit different visual styles.
+
+:::info
+This component is designed to work with a provided texture and **does not** include built-in functionality to modify the texture itself.
+If you need to adjust properties such as **rotation**, **repeat**, or **other attributes**, you should modify them directly the texture *(See usage example below)* that you pass to the `` component.
+:::
+
+```vue{2,16-20,41-45}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+## Props
+
+| Prop | Description | Default |
+| ------------- | ----------------------------------------------------------------------------------------------- | --------------------------- |
+| blendFunction | Defines how the effect blends with the original scene. See the [`BlendFunction`](https://pmndrs.github.io/postprocessing/public/docs/variable/index.html#static-variable-BlendFunction) options. | `BlendFunction.NORMAL` |
+| texture | The texture used for the effect. See the [`Texture`](https://threejs.org/docs/#api/en/textures/Texture) documentation | `null` |
+| opacity | The opacity of the texture. | `1.0` |
+
+## Further Reading
+
+For more details, see the [TextureEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/TextureEffect.js~TextureEffect.html).
diff --git a/docs/guide/pmndrs/tilt-shift.md b/docs/guide/pmndrs/tilt-shift.md
index afa01404..76d6de7f 100644
--- a/docs/guide/pmndrs/tilt-shift.md
+++ b/docs/guide/pmndrs/tilt-shift.md
@@ -16,7 +16,7 @@ The `TiltShift` effect is part of the [`postprocessing`](https://pmndrs.github.i
The `` component is straightforward to use and provides customizable options to fine-tune the tilt-shift effect.
-```vue{3,11-14,21-25}
+```vue{3,11-14,23-27}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
```
@@ -33,4 +41,4 @@ import { EffectComposerPmndrs, VignettePmndrs } from '@tresjs/post-processing'
| darkness | The darkness value. | 0.5 |
## Further Reading
-see [postprocessing docs](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/VignetteEffect.js~VignetteEffect.html)
+For more details, see the [VignetteEffect documentation](https://pmndrs.github.io/postprocessing/public/docs/class/src/effects/VignetteEffect.js~VignetteEffect.html)
diff --git a/package.json b/package.json
index 35cb1081..adb38ba9 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "@tresjs/post-processing",
"type": "module",
- "version": "2.3.1",
+ "version": "2.4.0",
"packageManager": "pnpm@10.6.3",
"description": "Post-processing library for TresJS",
"author": "Alvaro Saburido (https://github.com/alvarosabu/)",
@@ -58,7 +58,7 @@
},
"dependencies": {
"@vueuse/core": "^12.5.0",
- "postprocessing": "^6.36.6"
+ "postprocessing": "^6.37.2"
},
"devDependencies": {
"@release-it/conventional-changelog": "^10.0.0",
diff --git a/playground/src/pages/postprocessing/ascii.vue b/playground/src/pages/postprocessing/ascii.vue
new file mode 100644
index 00000000..c334ab89
--- /dev/null
+++ b/playground/src/pages/postprocessing/ascii.vue
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/playground/src/pages/postprocessing/barrel-blur.vue b/playground/src/pages/postprocessing/barrel-blur.vue
index bfdf32a8..e1c4353f 100644
--- a/playground/src/pages/postprocessing/barrel-blur.vue
+++ b/playground/src/pages/postprocessing/barrel-blur.vue
@@ -11,7 +11,6 @@ import '@tresjs/leches/styles'
const gl = {
clearColor: '#ffffff',
toneMapping: NoToneMapping,
- envMapIntensity: 10,
}
const glComposer = {
diff --git a/playground/src/pages/postprocessing/brightness-contrast.vue b/playground/src/pages/postprocessing/brightness-contrast.vue
index 86739687..37325bd3 100644
--- a/playground/src/pages/postprocessing/brightness-contrast.vue
+++ b/playground/src/pages/postprocessing/brightness-contrast.vue
@@ -11,7 +11,6 @@ import '@tresjs/leches/styles'
const gl = {
clearColor: '#ffffff',
toneMapping: NoToneMapping,
- multisampling: 8,
}
const { brightness, contrast, blendFunction } = useControls({
diff --git a/playground/src/pages/postprocessing/chromatic-aberration.vue b/playground/src/pages/postprocessing/chromatic-aberration.vue
index 8d324e19..d5d9fe57 100644
--- a/playground/src/pages/postprocessing/chromatic-aberration.vue
+++ b/playground/src/pages/postprocessing/chromatic-aberration.vue
@@ -14,7 +14,6 @@ import '@tresjs/leches/styles'
const gl = {
clearColor: '#ffffff',
toneMapping: NoToneMapping,
- envMapIntensity: 10,
}
const glComposer = {
diff --git a/playground/src/pages/postprocessing/color-average.vue b/playground/src/pages/postprocessing/color-average.vue
index eac5c329..5ba661a3 100644
--- a/playground/src/pages/postprocessing/color-average.vue
+++ b/playground/src/pages/postprocessing/color-average.vue
@@ -11,7 +11,6 @@ import '@tresjs/leches/styles'
const gl = {
clearColor: '#ffffff',
toneMapping: NoToneMapping,
- envMapIntensity: 10,
}
const glComposer = {
diff --git a/playground/src/pages/postprocessing/color-depth.vue b/playground/src/pages/postprocessing/color-depth.vue
index 235eaa1b..334cfb67 100644
--- a/playground/src/pages/postprocessing/color-depth.vue
+++ b/playground/src/pages/postprocessing/color-depth.vue
@@ -11,7 +11,6 @@ import '@tresjs/leches/styles'
const gl = {
clearColor: '#ffffff',
toneMapping: NoToneMapping,
- multisampling: 8,
}
const { blendFunction, bits, opacity } = useControls({
diff --git a/playground/src/pages/postprocessing/fish-eye.vue b/playground/src/pages/postprocessing/fish-eye.vue
index cb3979d9..865d3637 100644
--- a/playground/src/pages/postprocessing/fish-eye.vue
+++ b/playground/src/pages/postprocessing/fish-eye.vue
@@ -11,8 +11,6 @@ import '@tresjs/leches/styles'
const gl = {
clearColor: '#ffffff',
toneMapping: NoToneMapping,
- multisampling: 8,
- envMapIntensity: 10,
}
// Note: The variables [lensSX, lensSY], [lensFX, lensFY] are not used as vectors in useControls because the 'step' key is not yet available.
diff --git a/playground/src/pages/postprocessing/fxaa.vue b/playground/src/pages/postprocessing/fxaa.vue
new file mode 100644
index 00000000..39414ebd
--- /dev/null
+++ b/playground/src/pages/postprocessing/fxaa.vue
@@ -0,0 +1,174 @@
+
+
+
+
+
+