Getting vector3 or vector4 per-vertex data into Shader Graph Editor

Hi, I'm trying to understand how I can get 3- or 4-channel per-vertex data into the Graph Editor.

From my tests, it seems that:

  • the "Geometric Property" node does not give access to 4-channel data,

  • "Geometric Property (vector3)" does not give me access to custom properties besides the ones defined in MaterialX core

  • the "Texture Coordinates" node has a vector4f mode (yay!), but according to MaterialX spec, texcoords must have 2 or 3 channels, and I can't get 4-channel data to show up there either.

My assumption so far is that I must be missing some "magic" – for example, do the primvars in a file have to be in a specific order, independent of their names? Or do their names matter? (E.g. convention would be primars:st and primvars:st1 and so on)

Unfortunately the forum doesn't allow me to attach any USDZ or ZIP files or GDrive links; if there's a way to share a test file I'm happy to do so!

Getting vector3 or vector4 per-vertex data into Shader Graph Editor
 
 
Q