Basically what the title says. I’ve been banging my head on this for a couple of days now.
My purpose is to apply an AfterimagePass to some particles that rotate around a sphere, but not to apply the effect to the sphere.
My problem is that the call to composer.render
seems to clean the previous scene, the one with the sphere without the effect, at least that’s what I understand looking at the Spector.js trace.
I have made a very small example showing my problem, it is the most basic example I could think of.
https://jsfiddle.net/2kLb7j5w/13/
The effect occurs when moving the camera, I wanted to avoid putting in code to move the particles and leave the example as basic as possible.
I have seen several similar questions but none of them have helped me, many of them refer to BloomEffect, in any case if this has already been solved and you can send me to that question I will be very grateful.
Thank you very much!