Shader keywords and macros reference in URP
Shader keywords and macros that enable or provide access to URP features in shaders.
阅读时间1 分钟最后更新于 2 个月前
Shader keywords and macros that enable or provide access to URP features in shaders.
Element | Description |
|---|---|
| Use this |
| Use this keyword to define areas in shader code that Unity should execute if per-pixel additional lights are enabled in a scene and URP asset. If a renderer uses the Forward+ rendering path, Unity ignores this keyword and uses the |
| Use this macro to iterate over the additional lights. In the Forward+ rendering path, the |