Version: 2018.4
Writing Shaders
Usage and Performance of Built-in Shaders

Legacy Shaders

Prior to the introduction of the Physically Based Standard Shader, Unity was supplied with more than eighty built-in shadersA small script that contains the mathematical calculations and algorithms for calculating the Color of each pixel rendered, based on the lighting input and the Material configuration. More info
See in Glossary
which each served different purposes. These shaders are still included and available for use in Unity for backwards compatibility but we recommend you use the Standard ShaderA built-in shader for rendering real-world objects such as stone, wood, glass, plastic and metal. Supports a wide range of shader types and combinations. More info
See in Glossary
wherever possible for new projects.

This section begins by explaining how to use the legacy built-in shaders to maximum effect. The remainder of the section details all the available shaders, grouped into related “families”.

Writing Shaders
Usage and Performance of Built-in Shaders
Copyright © 2020 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961