文档

Unity Engine


User Manual

Script Reference

Unity Engine


Writing custom shaders in URP

Resources for writing HLSL and ShaderLab code in URP.
阅读时间1 分钟最后更新于 1 个月前

Resources for writing HLSL and ShaderLab code to create custom shaders in the Universal Render Pipeline (URP).

Page

Description

Examples of writing a custom shader in URPExamples of shader code in URP.
Built-in shader methods in URPResources for the library of High-Level Shader Language (HLSL) shader files that contain helper methods.
Make a URP shader compatible with the SRP BatcherEnsure that a URP shader is SRP Batcher compatible.
Shader keywords and macros reference in URPShader keywords and macros that enable or provide access to URP features in shaders.

Additional resources