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

Best Practice: (obsolete) Shaders

Hi,

I just noticed most of the Shaders in the HolotoolKit-Unity are now obsolete. What is the current best-practice to replace those shaders? Should I use the Holotoolkit/FastConfigurable or can I replace them with the Unity-Default Standard-Shader?
Especially for performance, is there a new rule of thumb what to use?

Answers

  • Options

    Are you using the latest HoloToolkit?

    I am not fully up to date with the latest Unity3D or Toolkit so I can't replicate the obsolete. However, I would not use Default-Standard shader as its performance is not optimized and thus slows down the device. At least if you are doing anything that pushes the limits of the device.

    If you do need to go away from HoloToolkit shaders I'd at least look for a mobile friendly shader as they tend to be more optimized.

    Taqtile

  • Options

    I am using the currently stable Unity 2017.1.0f3 and the current Holotoolkit master. I just noticed that the last stable release 1.5.8.0 still has the Shaders as not-obsolete, so maybe this is worked on?
    see
    https://github.com/Microsoft/HoloToolkit-Unity/tree/master/Assets/HoloToolkit/Utilities/Shaders
    and
    https://github.com/Microsoft/HoloToolkit-Unity/tree/v1.5.8.0/Assets/HoloToolkit/Utilities/Shaders

  • Options

    I just switched everything in my app over to the FastConfigurable shader. In debug-mode my application is now unusable, very low frame rate but the release build works quite nice and the lighting looks better. I did not have the time to benchmark in detail and compare framerates, but it seems good.

Sign In or Register to comment.