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.
Options

How to use NearPlaneFade.cs to smooth fade clipping?

I found NearPlaneFade.cs in HoloToolkit. Will this give smooth fade effect for the near plane clipping? Where should I put this script? I tried putting this on MainCamera but the app still showed hard cut clipping.

Answers

  • Options

    Hi @cre8ivepark,
    NearPlaneFade.cs will smoothly fade your hologram to black as the user moves closer to the clipping plane. We use this effect on the EnergyHub object in Holograms 240, so take a look at the final version of that course and you should see how we set it up in the scene.

  • Options

    I tried assigning the script and adjusted the value same as the Holograms 240 example but somehow it is not working. Are there any additional thing I should add?
    Thanks!

Sign In or Register to comment.