Postprocessing only on a section

Hello,
I saw the website: https://sougen.co/ and i’m trying to do this effect


It looks like there i a postprocessing just inside this section. I’m suffering searching for a response so i decided to ask you.
Probably my google skills are not good enough because i see multiple website having this effect.

I started to have an idea but i don’t know if it could work.
Doing 2 scene and use postprocessing mask to mask a part of the scene

they’re using a threejs fork which they evolve, but this feature is now being upstreamed https://twitter.com/onirenaud/status/1521437386227388416 and the demo: three.js examples

at least i think that’s what this is. you could ofc get this in many other way, for instance gl skissor, though it would probably cost more since you double render.

1 Like

Nice! I hadn’t seen this got added.

The example link from @drcmda didn’t work for me but this one does:
https://rawcdn.githack.com/mrdoob/three.js/cdb312b1dd45f182306b82daa3ff065a6d456fa6/examples/index.html#webgl2_multiple_rendertargets_multisampled