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.

Unity light cookies with MRTK

Hi, I am kinda new to Hololens development, I wanted to place a spotlight, switchable by a toggle button and use a Unity light cookie on that spotlight to project a simple crosshair onto my hologram.

Now I can't get light cookies to work in my Project. I created my cookie to Unity specification, and the cookie works in a normal Unity 3D Project.

My suspicion is that, since cookies use a black/white image to define where to project light, the Hololens -where black is seen as transparant- does not work with light cookies. Is my suspicion right? Or is there a special process to get light cookies to work?
Or could the shaders be a reason?

Thanks a lot!

Tagged:

Answers

  • For anyone bumping into this, I found the solution.
    The spotlights Render Mode needed to be set to important.
    Now let's hope this does not influence performance to much

Sign In or Register to comment.