Jump to content

Using geometry color attributes w/ renderman


Recommended Posts

Can someone please explain how to connect geometry colour to a surface shader in renderman 23? I've been using Houdini for 3 years and I still can't figure this out. The integration of Renderman into Houdini is appaling and the documentation is useless. I've promoted the color on the geometry to a vertex attribute and renamed it to Cs from Cd. How do i get this in the shader? Thanks

Link to comment
Share on other sites

If you are within the LOPs context, be aware that attribute names are changed. LOPs is an implementation of USD. Try connecting a pxrAttribute node to the baseColor of the shaders node. Instead of typing Cd type displayColor  for the attribute name.

Untitled-1.jpg

Edited by Atom
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...