Search Unity

Question How to keep the color/texture when replacing a shader with a shader graph shader?

Discussion in 'Shader Graph' started by John_Leorid, Sep 17, 2019.

  1. John_Leorid

    John_Leorid

    Joined:
    Nov 5, 2012
    Posts:
    651
    I want to swap shader graph shaders without reassigning all variables as I have a buch of materials and I want to change them all to toon materials, is there any way to archive this, as I cannot redefine the _BaseMap property in the shader graph properties.
    "Shader error in 'UnlitMaster': redefinition of '_BaseMap' at line 64 (on d3d11)" - well but thats exactly what I want to do?
    (Or just read the _BaseMap in the shader graph, that would be ok too...)
    Are there any solutions yet?