Rich-Harris / svelte-cubed

Svelte ❤️ Three
svelte-cubed.vercel.app
MIT License
1.19k stars 76 forks source link

Feature Request: post processing / effect composer #61

Open thisispete opened 2 years ago

thisispete commented 2 years ago

https://threejs.org/docs/#examples/en/postprocessing/EffectComposer

can't figure out a way to get post processing render passes to work with the current canvas / camera / scene / renderer

gpeu commented 2 years ago

I cobbled the UnrealBloom shader example into a Canvas. It's gross, it's not a solution but since it does render some post processed stuff, it might be useful to figure out what is blocking you: https://github.com/gpeu/svelte-cubed/blob/main/src/lib/components/CanvasPostProcess.svelte