Search Unity

Make Shader that affects specific GameObjects

Discussion in 'Shaders' started by elmar1028, Nov 29, 2016.

  1. elmar1028

    elmar1028

    Joined:
    Nov 21, 2013
    Posts:
    2,359
    Hi guys,

    Is there a way where I can make a shader (full-screen image shader) that affects only specific gameobjects. So, shader has GameObject slot that I drag and it's being affected by the shader.

    E.g, shader that turns specific GameObjects red color.

    Any ideas?

    Thanks :)
     
  2. McDev02

    McDev02

    Joined:
    Nov 22, 2010
    Posts:
    664