I know there were some restrictions in the past, but can you use ShaderLab shaders in Mixed Reality Passthrough mode with the latest version of the packages / Unity 6?
Yes; you can use ShaderLab shaders in Metal mode with passthrough (that is, the former “VR” mode is now a more general Metal mode that supports passthrough). There are still some features that aren’t supported in Metal mode–for example, gaze-based hover effects.
Everything @kapolka said is accurate, but if you’re referring to using ShaderLab shaders in the mode formerly referred to as “MR mode” and now called “Reality Kit” mode, the answer is unfortunately still no. In RealityKit mode, we’re limited to the capabilities surfaced by MaterialX. We do support a large subset of HLSL via the custom function node, but cannot support fully general ShaderLab shaders there for technical reasons.
Hope that helps clarify!
–Tim
2 Likes