Hello everyone.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Options
Changing skybox during runtime?
Hello everyone!
I have a bunch of cylindrical panorama photos that I want to view in the HoloLens, which works like a charm when I set one as the default skybox in the Lighting menu or as a camera component. Using "RenderSettings.skybox = Material" in a script to switch between several photos however, works fine in the Unity player, but does absolutely nothing on the HoloLens. Does anybody have a clue?
Thanks in advance!
0
Best Answer
-
Options
Turns out I just need to learn how to read. I had to call DynamicGI.UpdateEnvironment() after changing the material.. just like it says in the documentation for RenderSettings.skybox. The keypresses didn't require it though, weird. Problem solved!
6
Answers
Good news, changing skyboxes is not impossible. Worked just fine when triggered by a Bluetooth keyboard press. Must be something to do with my gesture manager, which is still a bit odd, Debug.Log shows SendMessageUpwards is going through just fine, but the skybox command right after it doesn't work. Oh well, at least I know my project isn't completely impossible yet. Back to coding!
Turns out I just need to learn how to read. I had to call DynamicGI.UpdateEnvironment() after changing the material.. just like it says in the documentation for RenderSettings.skybox. The keypresses didn't require it though, weird. Problem solved!