AnaglyphEffect with Effect Composer

Hi, before trying to reinventing the wheel, I would like to know if there is an easy way to keep the effect composer effects (eg: outline, antialias), while using the anaglyph (3D) effect? If there isn’t, what is the most efficient way to do it?

My intial idea (using AnaglphEffect.js code as reference) is this:

  • Use a Composer for each ‘eye’ camera.
  • Add the passes to be applied to each camera, like the outline effect.
  • Add a Custom Shader pass, to include the shader from AnaglyphEffect.js, to each camera.
  • Add common post processing passes, like antialias, gamma, etc. to the final render (to save it from applying them per camera).