-
`import { OrbitControl } from "@galacean/engine-toolkit-controls"; WebGLEngine.create({ canvas: "canvas" }).then((engine) => { const rootEntity = engine.sceneManager.activeScene.createRootEntity(); const cameraEntity = rootEntity.createChild("camera"); const scene = engine.sceneManager.activeScene engine.run();
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
Beta Was this translation helpful? Give feedback.
那你 loader 不应该使用 HDRLoader 呢,应该使用
AssetType.Env
,参考官网案例然后这个烘焙产物是需要经过编辑器或者 glTF-viewer 离线烘焙得到的,参考文档