Depth buffer in macOS

How can I get the depth buffer in mac, I’m struggling with this for a while, I’ve got it to work for windows but when I go to test it in mac I either get ERROR:FRAMEBUFFER_INCOMPLETE_ATTACHMENT or I see the scene without the effect I’m trying to make

We have a fix for this in the next engine release that should be happening this week. https://github.com/playcanvas/engine/pull/3132

Also, there is an engine example for post effects that use the depth buffer that may help? http://playcanvas.github.io/#graphics/post-effects.html (brokeh in particular)

Oh, great news! I’ll take a look at this example also. Thank you!