Offscreen canvas demo does not work either.
https://www.babylonjs.com/demos/offscreen/
See
Offscreen canvas demo does not work either.
https://www.babylonjs.com/demos/offscreen/
See
‘bag’ typo not intentional :^)
Ok. Found something.
Using AdvancedDynamicTexture
with TextBlock
leads to calling ThinEngine.getFontOffset()
, which uses document
.
@RaananW @Evgeni_Popov pls check
The GUI lib is not supported outside of a browser context. GUI elements require the canvas context as well. There is sadly no way around it.
What you can do is override the function that calls this (Control._GetFontOffset) but then you won’t have font support
Then PR is ready to merge.