From 073d5b43aba33ba1bd6f7f7c8192d342f39d5a8a Mon Sep 17 00:00:00 2001 From: kvvasuu Date: Mon, 12 Oct 2026 18:03:47 +0200 Subject: [PATCH] docs: add missing examples for effects --- docs/effects/halftone.mdx | 4 ++++ docs/effects/kuwahara.mdx | 4 ++++ docs/effects/lens-distortion.mdx | 4 ++++ docs/effects/lensflare.mdx | 4 ++++ docs/effects/linocut.mdx | 4 ++++ docs/effects/lut.mdx | 4 ++++ docs/effects/sharpness.mdx | 4 ++++ 7 files changed, 28 insertions(+) diff --git a/docs/effects/halftone.mdx b/docs/effects/halftone.mdx index 031bcda..611706a 100644 --- a/docs/effects/halftone.mdx +++ b/docs/effects/halftone.mdx @@ -25,6 +25,10 @@ return ( ) ``` +## Example + +[![Halftone demo](https://pmndrs.github.io/examples/halftone/thumbnail.webp)](https://pmndrs.github.io/examples/halftone) + ## Props | Name | Type | Default | Description | diff --git a/docs/effects/kuwahara.mdx b/docs/effects/kuwahara.mdx index 41b7514..8043923 100644 --- a/docs/effects/kuwahara.mdx +++ b/docs/effects/kuwahara.mdx @@ -22,6 +22,10 @@ return ( The filter takes about `radius * sectorCount * 3` texture samples per pixel, so large radii get expensive quickly. Lower `sectorCount` when raising `radius`. +## Example + +[![Kuwahara demo](https://pmndrs.github.io/examples/kuwahara/thumbnail.webp)](https://pmndrs.github.io/examples/kuwahara) + ## Props | Name | Type | Default | Description | diff --git a/docs/effects/lens-distortion.mdx b/docs/effects/lens-distortion.mdx index 1d12eb0..f12e1c9 100644 --- a/docs/effects/lens-distortion.mdx +++ b/docs/effects/lens-distortion.mdx @@ -18,6 +18,10 @@ return ( ) ``` +## Example + +[![LensDistortion demo](https://pmndrs.github.io/examples/lens-distortion/thumbnail.webp)](https://pmndrs.github.io/examples/lens-distortion) + ## Props | Name | Type | Default | Description | diff --git a/docs/effects/lensflare.mdx b/docs/effects/lensflare.mdx index 6a4134c..d0aa78f 100644 --- a/docs/effects/lensflare.mdx +++ b/docs/effects/lensflare.mdx @@ -25,6 +25,10 @@ Use bvh `` to enhance the internal raycaster performance. The Ultimate Lens Flare leverages the raycaster to examine the material type of objects and determine if they are `MeshTransmissionMaterial` or `MeshPhysicalMaterial`. It checks for the transmission parameter to identify glass-like materials. Therefore, for an object to behave like glass, its material should have either `transmission = 1` or `transparent = true` and `opacity = NUMBER`. The effect automatically interprets the opacity `NUMBER` value to determine the brightness of the flare. +## Example + +[![LensFlare demo](https://pmndrs.github.io/examples/lensflare/thumbnail.webp)](https://pmndrs.github.io/examples/lensflare) + ## Credits - https://www.shadertoy.com/view/4sK3W3 diff --git a/docs/effects/linocut.mdx b/docs/effects/linocut.mdx index 7051b99..841cacb 100644 --- a/docs/effects/linocut.mdx +++ b/docs/effects/linocut.mdx @@ -22,6 +22,10 @@ return ( ) ``` +## Example + +[![Linocut demo](https://pmndrs.github.io/examples/linocut/thumbnail.webp)](https://pmndrs.github.io/examples/linocut) + ## Props | Name | Type | Default | Description | diff --git a/docs/effects/lut.mdx b/docs/effects/lut.mdx index 54db4cf..9b91f04 100644 --- a/docs/effects/lut.mdx +++ b/docs/effects/lut.mdx @@ -18,6 +18,10 @@ return ( ) ``` +## Example + +[![LUT demo](https://pmndrs.github.io/examples/lut/thumbnail.webp)](https://pmndrs.github.io/examples/lut) + ## Props | Name | Type | Default | Description | diff --git a/docs/effects/sharpness.mdx b/docs/effects/sharpness.mdx index 40cf63a..baaf7b3 100644 --- a/docs/effects/sharpness.mdx +++ b/docs/effects/sharpness.mdx @@ -18,6 +18,10 @@ return ( ) ``` +## Example + +[![Sharpness demo](https://pmndrs.github.io/examples/sharpness/thumbnail.webp)](https://pmndrs.github.io/examples/sharpness) + ## Props | Name | Type | Default | Description |