c# - 使用 MRTK 在 Hololens 中显示天空盒

标签 c# unity-game-engine hololens mrtk

我正在使用 Unity 和 MRTK 为 Hololens 创建沉浸式应用程序(类似于 Holotour)。在这个应用程序中,我需要模拟天空。在 Unity 中,天空盒足以显示这一点。然而,在 Hololens 中却并非如此。如何在 Hololens 中显示天空/天空盒上的内容?到目前为止,我已经尝试将高空摄像机的渲染纹理添加到倒置球体(即包围游戏空间并在内部显示球体 Material 的球体);但这似乎不起作用...

最佳答案

HoloLens 使用透明相机显示设置来确定如何清除场景。如果将 Clear Flags 更改为 Skybox,您应该会获得所需的效果。

enter image description here

关于c# - 使用 MRTK 在 Hololens 中显示天空盒,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60187594/

相关文章:

ios - 编程中 "Fast script call and stripping"是什么意思

android - AdMob。插屏广告播放时能否保持屏幕常亮?

c# - 如何使用 Microsoft Scene Understanding SDK 和 hololens2 将 Unity 场景与玩家的物理房间对齐?

package - 如何在没有 VS 的情况下将应用程序部署到 Hololens?

c# - 使用 RestSharp 轻松调用 Rest api

c# - 以下哪一种是在 Controller 外部将 View 渲染为字符串的首选方式?

unity-game-engine - 如何输出Unity3D调试日志?

c# - Visual Studio 2017 building to hololens error CS0246 "The type or namespace name ' UnityPlayer' Could not be found”

c# - 如何复制到单元测试文件夹?

c# - 反转 ienumerable 的 lambda 函数