Version: Unity 6 (6000.0)
Language : English
ShaderLab Pass tags in URP reference
Shader Material Inspector window reference for URP

Make a URP shader compatible with the SRP Batcher

To ensure that a ShaderA program that runs on the GPU. More info
See in Glossary
is SRP Batcher compatible:

  • Declare all Material properties in a single CBUFFER called UnityPerMaterial.
  • Declare all built-in engine properties, such as unity_ObjectToWorld or unity_WorldTransformParams, in a single CBUFFER called UnityPerDraw.

For more information on the SRP Batcher, refer to the documentation on the Scriptable Render Pipeline (SRP) Batcher.

ShaderLab Pass tags in URP reference
Shader Material Inspector window reference for URP
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961