I am currently working on a scene that shall be rendered by either the normal renderer or an effect renderer like the anaglyph or stereo renderer. The normal rendering works fine but if I switch to one of the effect renderers, only a black image is rendered. My debugging output tells me that the render function of the effect renderer is used.
I tried using the example code from the three.js website but I got the same problem. Still a black image.
Do you have any idea what can cause such a problem?
Without seeing your code, it’s really hard to tell what’s going wrong, sorry.
It’s always best to demonstrate your issue with a live example (three.js dev template - module - JSFiddle - Code Playground) or by sharing your code with a github repository.
Thank you for your reply! I couldn’t find out, why it didn’t work for me. A friend of mine fixed it by updating the three.js library but that didn’t work for me.
If someone has the same problem, I could finally make it work by using the example from the three.js website and then step-by-step reducing it and adjusting it to my scene.