pmndrs / react-postprocessing

📬 postprocessing for react-three-fiber
https://docs.pmnd.rs/react-postprocessing
MIT License
1.12k stars 107 forks source link

EffectComposer overwrites previously rendered scenes #146

Open JosephClay opened 2 years ago

JosephClay commented 2 years ago

Passing a scene and camera to EffectComposer should contain the effects to the scene, however, rendering in this way clears previously rendered scenes (even with autoClear={ false })

Barebones test here: https://codesandbox.io/s/tender-galois-g55xlj?file=/src/index.jsx

JosephClay commented 2 years ago

I've tried several variations of the above in different forks without success

Just trying to run per-scene EffectComposers with a manually-managed render loop