Search Unity

How to render with a replacement shader using by using a default texture

Discussion in 'Shaders' started by R0man, Jan 5, 2018.

  1. R0man

    R0man

    Joined:
    Jul 10, 2011
    Posts:
    90
    I would like to render my scene with a replacement shader with a custom default texture. However the default texture isn't used when rendering. Only if I set the texture to a property with the same name.

    It would be a pain, to iterate through all game objects that I wan't to render and manually do what the Render with replacement shaders function does. Is there another way?