docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023