Fri, 03/11/2022 - 08:26
Forums:
Dear All,
I'm searching the way to enable MSAA in WebGL.
And I found that NbMsaaSamples works on the OCCT 7.7 (dev) at this article : https://dev.opencascade.org/content/usage-problem-anti-aliasing-webassembly
So, I cloned the latest OCCT from Github (https://github.com/Open-Cascade-SAS/OCCT)
I assumed that the latest dev version should be 7.7
But the test result... NbMsaaSamples doesn't work.
Is the github latest 7.7 right?
Fri, 03/11/2022 - 10:29
How exactly you have checked MSAA? What do you display on the screen?
Note that MSAA support in WebGL is still limited - for instance, Immediate Layer will be rendered without MSAA as there is no way to blit one MSAA framebuffer into another MSAA framebuffer in WebGL.
Mon, 03/21/2022 - 04:49
Oh Sorry, I used the immediate rendering. Let me try with FBO and attach the result in this thread! Thank you!!
Mon, 03/21/2022 - 15:46
David wrote:
So, you are adding your own OpenGL code here? Interesting.