Jump to content

Get Object Transform in VOPs of Object


Recommended Posts

I don't have much experience with shading myself, but I do stuff with VOPs in Surface Operators.

you can import geometry attributes in VOPs: point, vertex, primitive and detail

If you have a multiple geometry nodes, you could store this kind of information in the detail attributes in the geometry and access it in the shader that way
Detail Attributes have one single value for the entire geometry. If you want information for parts withIN the geometry, you may need import point, vertex or primitive attributes instead.

However, you can also "Bind" attributes (especially point, vertex and primitive) that way it will automatically get the correct data from the right point, vertex or primitive to the right pixel,
or at least for int, float and vector attributes. This doesn't really work for strings or array attributes.

Hope that helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...