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 project a texture on the SpatialMap?

I'm trying to get the Unity Projector to project a texture on to the world spatial map. I've changed up materials on the Spatial map to make sure it wasn't an issue with alpha/occlusion. Any ideas?

Best Answer

Answers

  • Options

    @cpeter,
    I have not used the Projector before, but the Unity documentation calls out that you need to use a special shader for it to work and set the texture's material of the projector to 'clamp':
    https://docs.unity3d.com/Manual/class-Projector.html

    Have you tried loading a captured room file into Unity and testing the Projector within the editor? Does it work in the editor but not on HoloLens?

    If you're running with our recommended quality settings (Fastest), then shadows are turned off by default. Lighting and shadows are expensive to run on the HoloLens, along with post-processing camera effects that you'll find in Unity's standard assets folder. The Terrain system is usually too expensive to run on HoloLens, and Projector might suffer from the same limitations.

Sign In or Register to comment.