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

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?