Hi guys! Help me please! When I turn on the mobile view in the browser, when I try to create the Pixi renderer, provided that before that we created the babylon js renderer, the error “this browser does not support WebGL.”
this.babylonEngine = new BABYLON.Engine(canvas, true);
this.babylonScene = new BABYLON.Scene(this.babylonEngine);
const babylonCamera = new BABYLON.FreeCamera("camera", new BABYLON.Vector3(Math.PI, 0, -1), this.babylonScene);
babylonCamera.setTarget(BABYLON.Vector3.Zero());
const light = new BABYLON.HemisphericLight("_light", new BABYLON.Vector3(0, 1, 0.1), this.babylonScene);
light.intensity = 0.7;
this.renderer = new Renderer({
width: WIDTH,
height: HEIGHT,
view: canvas,
resolution: 1,
//antialias: true,
//transparent: true,
});