docs.unity3d.com
Search Results for

    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
    • Reconstruct the world space positions

    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)