Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[PerRendererData] attribute & Shader Graph :

Discussion in 'Graphics Experimental Previews' started by VironFlo, Dec 9, 2018.

  1. VironFlo

    VironFlo

    Joined:
    Sep 9, 2015
    Posts:
    10
    Hello everyone,

    I was wondering about the attribute " [PerRendererData] " Is it possible to use it into Shader graph editor from unity?
    If it's not the case, It would be awesome to add it !

    If you ask yourself what does this attribute :
    This attribute will tell Unity to compile the shader in such a way that the _Color property is to be set per renderer, instead of being shared for all renderers using the shader.
     
    kezkoal likes this.
  2. kencoderhk

    kencoderhk

    Joined:
    Dec 11, 2018
    Posts:
    9
    I want to know the answer too :)