// https://github.com/yandeu/enable3d/blob/ff0b75f0f262e6e8abe1da3eb8b5e34545914343/packages/enable3d/src/threeWrapper/index.ts
// root.sys.game comes from the Phaser game
this.renderer = new WebGLRenderer({
canvas: root.sys.game.canvas as HTMLCanvasElement,
context: root.sys.game.context as WebGLRenderingContext,
antialias: true
})
Just a quick question: Is this normal and I simply have to add one or two property to fix it? Or do I have to dig deeper to resolve this issue?
I was actually looking for such an example since I think the problem is caused by the way you have implemented your demo. Unfortunately, I don’t know what’s going wrong so far…