I use Mac and it works fine on my side. Run it, press keys 1, 2, 3 to disable first 3 effects … and in the texture on the right side - I can see the sphere moving around and the buffer is clearing, it does not leave the trail. Do you see the same?
This is strange. What version of Mac / OS do you have?
Could you also share the screenshots of https://webglreport.com/ - webgl2 part, as I suspect that’s what you are using.
We’ve tried in this versions MacOS Big Sur 11.2.3 (20D91) and MacOS Catalina 10.15.7 (19H1217).
This is the webgl2 from the MacOS with the Big Sur version:
I run the same Catalina version, and it all works fine, and has been working fine for last many months. @Leonidas - have you had any issues with the depth on Macs?
I may had, now that you ask. The god rays effect PR I submitted seems to leak light all over the place specifically on desktop Macs (both Safari and Chrome).
I haven’t reported it yet, since I wanted to investigate first, but now that it came up I will try and see if the first pass (depth pass) is where the effect fails.
Now we’ve tested it again on safari, chrome and firefox and in the Catalina 10.15.7 version only works on safari and with the Big Sur 11.2.3 version doesn’t work in any of them.
@mvaligursky FYI I’ve tested the post effect that broke only on macOS, the GodRays post effect from the draft PR. Depth buffer access isn’t the issue there, screen depth is reported correctly.
I still cannot reproduce the error on the Mac. I was on latest Catalina, now upgraded to Big Sur 11.5.1, and PlayCanvas Examples displays the depth map in bottom right corner correctly in both cases.
I have tried 3 iMacs and I could not see the depth map. But with my boss’s Macbook I see it. I’ll give you the specifications of the iMac and the Macbook.
Hmm features and extensions are the same.
It could be worth testing some other webgl applications that access depth buffer to see if they have the same problem as well.