Provide custom vertex input data

Hi,

is there possible some way, how can I provide more custom data to input structure for vertex function?

In this article http://docs.unity3d.com/Documentation/Components/SL-VertexProgramInputs.html I can read that structure members have to be from specified list. But I need send more data for each vertex.

Normally in DirectX or OpenGL native program is possible to define input structure. But it looks that it is not possible with Unity shader?

Is it right or there is some way how to do it?

Thank you

Not yet.

Thanks Daniel,

I will contact Unity support for it

and now?, how to get the index of a vertex?

1 Like