Render Pass (Effect Composer) disables physicallyCorrectLights

After adding the code below all the colors look different:

composer = new EffectComposer(renderer);
composer.addPass(new RenderPass(scene, camera));

Seems like post-processing disables the physicallyCorrectLights. Is there any way I can use post-processing (I want to add depth blur) and keep the nice colors?

Thanks!!

Solved it by using gammaCorrectionPass. Now the colors look fine again.

 composer.addPass(renderPass);
 composer.addPass(gammaCorrectionPass);
1 Like