Render queues and sorting behaviours in the Built-in Render Pipeline
Set how a camera sorts materials in the Built-In Render Pipeline
Set the render queue for a material in the Built-In Render Pipeline
By default, Unity places objects in the render queue specified in their Unity shaderA program that runs on the GPU. More info
See in Glossary. You define this value using the [Queue]
SubShader tag.
You can override this value on a per-material basis.
In the Unity Editor, you can do this in the material Inspector by setting the Render Queue property. In a C# script, you can do this by setting the value of Material.renderQueue using the Rendering.RenderQueue enum.
Render queues and sorting behaviours in the Built-in Render Pipeline
Set how a camera sorts materials in the Built-In Render Pipeline
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。