3DPrimitiveExample on Emscripten looks different

I tried building and running the 3DPrimitiveExample with Emscripten using the latest nightly on macOS.

And here’s the screenshot:

As you can see, the depth test doesn’t seem to work nicely. (unlike when running as a native app)

Is this natural and would it be possible to fix this?

that is strange, i’m pretty sure it was working last time i tried not so long ago, perhaps this is soemthing weird with latest macos? opengl has been behaving weirdly in latest versions of macos.

i’ll give it a try when i have a moment

1 Like