- Home /
Is it possible to have a custom attribute in the mesh?
I want to have my own vertex data (custom attributes) in mesh vertex. But I can't find it in the manual. The manual I saw was the following. https://docs.unity3d.com/ja/2018.4/Manual/SL-VertexProgramInputs.html?fbclid=IwAR2676igED5x59Ljrec3Xz_z7jWRSa4H2XSUasyr5Cd8ImbzyroKxGjU0U0
There seemed to be only a description of default vertex information such as position, color etc...
I wonder if should to use SetVertexBufferData method? But I'm not sure, so let me ask you the following questions.
If I neet to have more than one vertex data, must I call SetVertexBufferData many times, will it be pushed?
Is there a way to access this vertex data from ShaderGraph?
If I can't do 3, is there a way to access vertex data from the Shader program? What should I add to the semantics of the situation?
I'm not good at English, sorry, but .
Your answer
Follow this Question
Related Questions
Cube botttom transparent with shader? 1 Answer
How to return from shader the indexes of triangles/vertices that was actually rendered? 1 Answer
Lower-level way to find NEARBY TRIANGLES on the mesh? (Answered.) 4 Answers
How to acheive wireframe effect with dots? 0 Answers
Shader to make a quad work like a canvas 0 Answers