着色器Shader

着色器

由于全息对象与真实环境中的物理对象混合在一起,因此向用户提供视觉提示非常重要。Since holographic objects are mixed with physical ones in the real environment, it's important to provide visual cues to the user. 混合现实工具包标准着色器提供各种类型的视觉效果,可与全息影像一起使用。The Mixed Reality Toolkit Standard shader provides various types of visual effects for use with holograms. 着色系统使用单个灵活的着色器来实现类似于 Unity 的标准着色器的视觉对象。The shading system uses a single, flexible shader to achieve visuals similar to Unity's Standard Shader. 着色器实现了 熟知的设计系统原则 ,并在混合现实设备上保持高性能。The shader implements Fluent Design System principles and remains performant on mixed reality devices.

使用 MRTK (混合现实工具包的视觉效果示例) 标准着色器Examples of visual effects using MRTK (Mixed Reality Toolkit) Standard shader

移动Move
邻近感应Proximity light

旋转Rotate
边框细Border light



MRTK for Unity 中的标准着色器Standard shader in MRTK for Unity



另请参阅See also