Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity won't let me edit standard shaders.

Discussion in 'Shaders' started by Legendized, Jun 6, 2022.

  1. Legendized

    Legendized

    Joined:
    Dec 9, 2020
    Posts:
    3
    I want to edit Unity's standard shader for URP to add Oren-Nayar diffuse and replace the old Lambert diffuse, but every time I edit the code Unity un-edits it and no changes occur.

    Why is this and how can I stop it from happening?
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
  3. Legendized

    Legendized

    Joined:
    Dec 9, 2020
    Posts:
    3