Issue when clearing RenderTargetTexture postprocesses (and when using an optimizer)

We are experiencing an issue when applying a scene optimizer that acts on Postprocesses and using a render target texture with a blur postprocess:

This is the rendered image before the optimizer takes in place:


And this is the render after the optimizer has been executed:

I’ve noticed that clearing the postprocesses from that renderTargetTexture has the same behaviour (commented line 74 rt.clearPostProcesses())

cc @Evgeni_Popov

This PR will fix the problem:

3 Likes