Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Editor material preview pass/define

Discussion in 'Shaders' started by tirarex, Jun 22, 2022.

  1. tirarex

    tirarex

    Joined:
    Feb 19, 2015
    Posts:
    15
    So i make my own shaders and it works fine but editor preview always black.
    Is there any Define or something like "EditorPreview" pass that can be used in shader to customize shader for material preview ?


    And same question for this button in editor


    I use standard render and unity 2020.3.24
     
unityunity