docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property defaultShader

    defaultShader

    Returns the default shader for the specified renderer. When creating new objects in the editor, the materials of those objects will use the selected default shader.

    Declaration
    public override Shader defaultShader { get; }
    Property Value
    Type Description
    Shader

    Returns the default shader for the specified renderer.

    Overrides
    RenderPipelineAsset.defaultShader
    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)