Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

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,402
    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?