I am creating my first shader using the the Shader Graph, and I am seeing weird behaviour with my vertex positions when I have several objects in the scene using the Shader/Material I have created.
It looks like Unity is batching the objects, not sure yet what does mean, but it looks like I have to deactivate the batching so the vertex positions on my shader remain relative to the object and not to the objects.
Some open threads without solution:
- https://forum.unity.com/threads/shader-graph-object-position-node-is-wrong-on-multiple-objects.744917/
- https://answers.unity.com/questions/267794/mark-object-do-not-batch-it-dynamic.html
- https://forum.unity.com/threads/how-to-add-a-pass-tag-to-a-shadergraph.865594/
Long story short: How can I add tags, and specifically the DisableBatching
tag in my shader created using Shader Graph?