gltf编辑器与查看器都正常显示,在Chrome上显示为黑色 #24
Answered
by
zhuxudong
paomian7fenshu
asked this question in
Engine
Replies: 0 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cptbtptpbcptdtptp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
已经设置环境光
engine.sceneManager.activeScene.ambientLight.diffuseSolidColor.setValue(1, 1, 1, 1);
engine.sceneManager.activeScene.ambientLight.diffuseIntensity = 1;
engine.sceneManager.activeScene.ambientLight.diffuseMode = DiffuseMode.SolidColor;
文件链接:
https://g.alicdn.com/eva-assets/f56b23d9750acb36c4b84c622db18026/0.0.1/qingyuan/Downloads/test/C13_low3(1).gltf
Beta Was this translation helpful? Give feedback.
All reactions