Accessing draw calls when using EffectComposer

Hi guys, when using EffectComposer I see that renderer.info.render.calls returns always 1. What is the correct way to access draw calls number with EffectComposer?

This is explained in the documentation of WebGLRenderer.info. You have to set renderer.info.autoReset to false and perform the reset manually in your animation loop with renderer.info.reset();.

Demo: https://jsfiddle.net/w5h36roz/1/

4 Likes

Perfect! Thanks