i updated to the latest BabylonJS Version 6.11 and noticed that SSAO2 is no longer working. There are no errors or anything the effect is just not visible. It seems that the last working version is 6.4.1. That means the issue was introduced with version 6.5.0 .
After more debugging i found out that its releated to the RenderTargetTexture we are using. I created a playground here: Babylon.js Playground
Initially the SSAO is working. After 2 seconds the RTT will be rendered and the SSAO is broken.
We need to render the RTT on demand only in our app. Is this the correct approach for this or this there a better way which also works with the latest BabylonJs version?
If you switch to version 5.71.1 in the playground it works as expected.