docs.unity.cn
    Show / Hide Table of Contents

    Writing custom shaders

    This section contains guidelines that help you to get started with writing shaders for Universal Render Pipeline (URP).

    The section contains the following topics:

    • Creating a sample scene
    • URP basic unlit shader
      • Basic ShaderLab structure
    • URP unlit shader with color input
    • Drawing a texture
    • Visualizing normal vectors

    Each example covers some extra information compared to the basic shader example. If you are new to writing shaders using Unity's ShaderLab language, consider going through the sections in the order of appearance on this page.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 29 January 2021