Strange BABYLON.DynamicTexture size under Safari

I am creating a dynamlc texture using
ndt = BABYLON.DynamicTexture("", {width:366, height:182}, scene, true)
Just after I get the texture size in calling
var size = ndt.getSize();
With Chrome returned size is width= 366 and height=182, which is OK.
With Safari the size returned will be width = 256, height = 128, actually a size smaller than what was requested.
This is quite annoying. Is there anything to do to overcome this behaviour ??

You can set the last parameter to false instead, to disable mipmaps. Safari uses WebGL1, which doesn’t support mipmaps with non-power-of-two textures.

1 Like

Dear Gijs. Many thanks for the informative answer. It has helped me a lot to solve some issues! jm
(Apologies for my very late reaction!)

1 Like