Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Access vertex maps inside .ass procedural

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
162 Views, 2 Replies

Access vertex maps inside .ass procedural

I've exported geometry with vertex maps as .ass and need to access the tags after loading them in as a procedural for shading. Can't find how that works.

Tags (1)
Labels (1)
2 REPLIES 2
Message 2 of 3
Stephen.Blair
in reply to: Anonymous

vertex maps would be user data

if you check the ass file, there should be a line that starts with "declare" and then the name of the vertex map.

declare my_vertex_map

So you would use a user data shader to get that



// Stephen Blair
// Arnold Renderer Support
Message 3 of 3

Exactly, it's exported as user data parameter. The parameter has the vmap prefix, so it's something like:

 declare vmap_my_vertex_map varying FLOAT
 vmap_my_vertex_map 114 1 b85FLOAT 

Use that name (vmap_my_vertex_map) in a user_data shader, as Stephen said.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report