Hi ASE Community!
I created a shader that is drawn by Graphics.DrawMeshInstanced, and I need to have different variables for the instances. To differentiate in the shader I need to access UNITY_VERTEX_INPUT_INSTANCE_ID to use it as array index for my custom data.
How can I access UNITY_VERTEX_INPUT_INSTANCE_ID?
(https://docs.unity3d.com/Manual/GPUInstancing.html)
Best regards,
mrmcd