diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 72deebef..2bb83e0d 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -90,6 +90,12 @@ export default defineConfig({ { text: 'Unreal Bloom', link: '/guide/three/unreal-bloom' }, ].sort((a, b) => a.text.localeCompare(b.text)), }, + { + text: 'Advanced', + items: [ + { text: 'You might not need this module', link: '/guide/advanced/you-might-not-need-post-processing' }, + ], + }, ], socialLinks: [ 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.