i was working on a little project and in the playground it worked alright.
However when i try to put my code in a file “index.html”, the screen would just be white.
I started with the index.html as shown here: https://doc.babylonjs.com/
However, as soon as i add the line:
var advancedTexture = BABYLON.GUI.AdvancedDynamicTexture.CreateFullscreenUI(“gui”);
the screen will just be white. I opened the file with Firefox, Chrome and Edge, but it doesnt make any difference.
Is there anything i am missing?