Search found 3 matches
- Fri Feb 01, 2019 3:03 am
- Forum: Amplify Shader Editor
- Topic: Access UNITY_VERTEX_INPUT_INSTANCE_ID
- Replies: 5
- Views: 4671
Re: Access UNITY_VERTEX_INPUT_INSTANCE_ID
Thanks for the information. Everything worked great!
- Fri Jan 25, 2019 7:55 pm
- Forum: Amplify Shader Editor
- Topic: Access UNITY_VERTEX_INPUT_INSTANCE_ID
- Replies: 5
- Views: 4671
Re: Access UNITY_VERTEX_INPUT_INSTANCE_ID
Oh wow, guess I'm super lucky. Thanks for the answer.
Out of curiosity, was it impossible before?
Out of curiosity, was it impossible before?
- Thu Jan 24, 2019 1:20 am
- Forum: Amplify Shader Editor
- Topic: Access UNITY_VERTEX_INPUT_INSTANCE_ID
- Replies: 5
- Views: 4671
Access UNITY_VERTEX_INPUT_INSTANCE_ID
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 ...
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 ...