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.
Holograms 230 Chapter5 bugs

Hi
Holograms 230 , Chapter 5 has some bugs here is the fix.
PlanetOcclusion.cs
use using HoloToolkit.Unity; instead of using Academy.HoloToolkit.Unity;
OccusionRim.shader
and the rim shader is also wrong and does not display the earth correctly because of the rotation in the transform.
use o.normal = UnityObjectToWorldNormal(v.normal);
instead of
o.normal = normalize(v.normal);
Best Answer
-
ahillier mod
Hi @christop,
I was not able to repro the first issue when running with Unity 5.5 and the latest files for the class. The 'HoloToolkit' in the course was recently changed to a custom version called 'HoloToolkit-SpatialMapping-230', and the namespace was changed to Academy.HoloToolkit.Unity, if that doesn't match what you see in your project, then it's possible that the files you downloaded are slightly older (the update just went into GitHub earlier this week). Very little else changed, so if you were able to get through the course using older files and/or version of Unity, that's good too!Also, thanks for letting us know about the shader fix! I just changed the course to use UnityObjectToWorldNormal() as you suggested, and the rim effect is much better
5
Answers
Hi @christop,
I was not able to repro the first issue when running with Unity 5.5 and the latest files for the class. The 'HoloToolkit' in the course was recently changed to a custom version called 'HoloToolkit-SpatialMapping-230', and the namespace was changed to Academy.HoloToolkit.Unity, if that doesn't match what you see in your project, then it's possible that the files you downloaded are slightly older (the update just went into GitHub earlier this week). Very little else changed, so if you were able to get through the course using older files and/or version of Unity, that's good too!
Also, thanks for letting us know about the shader fix! I just changed the course to use UnityObjectToWorldNormal() as you suggested, and the rim effect is much better