When using the composer to render SSAO i receive massive performance drops. But even when not adding SSAO to the composer, the FPS drop to the floor. So I suspect the cause does not lie in the SSAOPass, but in my implementation of the composer or something else.
Does anyone spot any Problems that might cause these issues?
Please excuse the unclean code (I am not an experienced coder either)
I also ran into the problem that I can’t manage to have a Skybox and also nice reflections on my chrome parts… But I might do another Post on that topic
Hmm, are you maybe running on a laptop with integrated graphics instead of a dedicated GPU?
Bloom/SSAO-like passes are somewhat demanding, but it shouldn’t tank your FPS in half, unless your GPU just can’t handle it. You could try setting powerPreference to high-performance in the options object of the WebGLRenderer constructor. See docs here: three.js docs