Babylon.js
Babylon.js copied to clipboard
Creating depth/stencil texture does not support MSAA in WebGL.
Try this PG: https://playground.babylonjs.com/#A56TVT#1
Look at the console log: there are some errors because the depth/stencil texture is not created as a MSAA texture.
Note that it is failing only in WebGL, it's ok in WebGPU.
I am pretty sure it has never been supported in our webgl support. Trying to look into what it would take to do so. Do you see it as a regression ? or I would move the issue to a feature request instead ?
I think it can be moved in feature request indeed as it was never supported in WebGL (I looked at the file history of engine.renderTarget.ts to be sure it was not a regression I could have introduced!).
Just wondering when do you need this feature by ?
It's not very important, I'm simply not enabling MSAA in my (upcoming) demo.
man! Can't wait to see it now :D
Not supported by webgl