Object Node in Canvas Shader graph seems to refer to the Canvas and not the Image

Hi,

When I use an Object Node in a Canvas Shader Graph, it seems to be referring to the values of the Canvas and not the Image on which the Material/Shader Graph is attached. For example the scale property seems to be the scale of the canvas and not the image.

Is this by design, or a bug?

1 Like

Hey,
this is somehow by design as all elements in a Canvas are batched together and make one object.
There are a couple of ways you can achieve what you want:

A) Use C# to store values in UV and retrieve them from Shader Graph
B) Expose custom properties and set them per instance.

Hope this helps.

1 Like