Standalone version of MRTK Standard Shader
This repo is a mirror of the bare minimum extracted components to fully utilize the MRTK Standard Shader without needing to include all of MRTK.
Tested setup: Unity 2019.4 LTS, though it should work with older or newer versions.
The MixedRealityToolkit/Standard shader is a collection of shading techniques for mimicking Microsoft's Fluent Design System within Unity 3D.
The goal of this shader is to have a single, flexible shader that can achieve visuals similar to Unity's Standard Shader, implement Fluent Design System principles, and remain performant on mobile hardware, including standalone mixed reality devices.
To explore a Unity scene demonstrating materials, open Scenes\MaterialGallery.unity.
To compare the Unity Standard shader to the MRTK Standard shader open Scenes\StandardMaterialComparison.unity.
For clip primitive examples, open Scenes\ClippingExamples.unity.
Sphere
Box
Plane
Only one light source is supported, the directional light (additional light can be achieved using lightmapping). If you already using MRTK, then this package is not needed for your project.
Note this shader is designed to work with the default built-in renderer. MRTK includes an upgrade script that should allow it to work with URP, though certain features that rely on the depth buffer like stencils and outlines will not work until that is properly supported on URP.
Either clone this repo, or download the packages in the Releases section.