Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Mapping USD PrimVars to texcoords/vertexcolor

Discussion in 'Formats & External Tools Previews' started by jbooth, Jul 25, 2022.

  1. jbooth

    jbooth

    Joined:
    Jan 6, 2014
    Posts:
    5,461
    I have a USD file with a bunch of extra data on the vertices (a string[] in this case). I need to map these to data on the actual renderable mesh, so a shader can visualize them (say, stuff the strings index from a table into the vertex color or texcoord2.x).

    Is there a way to do this? Or does the data need to be mapped externally instead of import time?