Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在使用 ArCore 和渲染一些 .glb 模型时遇到了一些问题。
我所做的是将 .obj 的在线转换为 .glb 文件。有些 obj 附有纹理,有些则没有。如果我在 ARCore 中渲染一个用纹理转换的 .glb,一切看起来都很好。阴影是开箱即用的好东西。
但是如果我用一个没有纹理转换的 glb 来做,3d 模型只是没有阴影的灰色。该模型具有深度和所有这些,但感觉就像没有光线照射它。
我需要能够动态加载模型,因此无法使用 google SceneForm。
任何提示都会有所帮助!
检查这篇文章
如何准备 3D 模型以嵌入 AR 应用程序
您当然可以在 android ar 核心中添加动态纹理