Search Unity

Editor material preview pass/define

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

  1. tirarex

    tirarex

    Joined:
    Feb 19, 2015
    Posts:
    16
    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
     
    dongch007 and MattDavis like this.