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.
How to hide the holograms both in HOLOLENS and in Mixed Reality Capture
Hi,
i want to hide some holograms and they also can block other holograms in HOLOLENS.
so i set black color for holograms , and they can be hide in the scene of HOLOLENS and also can bolck other holograms. But,when i use Mixed Reality Capture to see the holograms ,they show the black color and not be hide in the scene. How to hide the balck holograms in Mixed Reality Capture?
i try to set the rendering mode to Cutout and set the color.a=0f for them ,so they can be hide both in HOLOLENS and Mixed Reality Capture but they can not block other holograms in HOLOLENS. how can i do?
Best Answer
-
Optionsjames_ashley ✭✭✭✭
Have you tried using the HoloToolkit/WindowOcclusion shader instead of setting your color?
James Ashley
VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
Microsoft MVP, Freelance HoloLens/MR Developer
www.imaginativeuniversal.com5
Answers
@shenwooash ,
Have you tried using the HoloToolkit/WindowOcclusion shader instead of setting your color?
James Ashley
VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
Microsoft MVP, Freelance HoloLens/MR Developer
www.imaginativeuniversal.com
Hey, @shenwooash.
Usually selective hiding is the bigger task. To hide a hologram both in Mixed Reality Capture and for the user simply disable the hologram (disable all its renderer components) or delete it (destroy the game object).
Hope this helps.
Building the future of holographic navigation. We're hiring.
@james_ashley,
Thank you for your answer. I tried to using the HoloToolkit/WindowOcclusion shader,and it exactly matched what i need. Thank you very mach.
@stepan_stulov ,
thank you for your answer.if i delete it ,it can not bolck other holograms. and i tried to using the HoloToolkit/WindowOcclusion shader,it can exactly matched what i need.