Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    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 :)