Does anyone know what may cause the normals to dance around like this. I am exporting from 3dsmax Babylon exporter. On export preview, it looks fine, but when in-game I get this weird effect. I am using it in an AR engine which applies a matrix to the camera. Would that be the problem?
This is all I’m using to init the BabylonJS engine.
this.canvas_draw = document.getElementById(“canvas”) as HTMLCanvasElement;
this.engine = new BABYLON.Engine(this.canvas_draw, true, {
preserveDrawingBuffer: true,
stencil: true
});
this.scene = new BABYLON.Scene(this.engine);
this.scene.clearColor = new BABYLON.Color4(0, 0, 0, 0);
this.scene.useRightHandedSystem = true;
this.camera = new BABYLON.Camera('camera1', new BABYLON.Vector3(0, 0, 0), this.scene);