Search Unity

Question Is it possible to get _BaseColor references to transfer to new shader?

Discussion in 'Shader Graph' started by Heckmouse, Jan 21, 2020.

  1. Heckmouse

    Heckmouse

    Joined:
    Nov 7, 2014
    Posts:
    27
    I'm trying to switch from using the URP/Lit shader to a custom one created with the shader graph in a big project with hundreds of materials. Most of the materials have just a _BaseColor texture referenced and I'm trying to set up my shader graph property so that the texture reference is maintained when I switch from the lit shader unity provides to my new one.

    No matter what I do, the reference is lost when changing to my new shader. Is this possible? What name does the base color property need to get this to work?