Use color attribute for displacement

   5949   3   1
User Avatar
Member
383 posts
Joined:
Offline
hello,

I would like if it's possible to use attribute to displace a mesh.
I watch the attribute tutorial series in the site :
http://www.sidefx.com/index.php?option=com_content&task=view&id=877&Itemid=132 [sidefx.com]

I wonder how to use the color attribute transfert to the grid to dsiplace it.

Thanks for your help
http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
8166 posts
Joined: July 2005
Offline
Append a Point SOP. In your point positions, use any expression based upon $CR (red), $CG (green), and $CB (blue).
User Avatar
Member
383 posts
Joined:
Offline
haha sorry sorry.
I am talking about shading.
How to use attribute to shade a bump or a displacement.

thanks for your help
http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
1390 posts
Joined: July 2005
Offline
vbk!!!
haha sorry sorry.
I am talking about shading.
How to use attribute to shade a bump or a displacement.
thanks for your help

You need to create in your displacement shader a parameter of the same name/type as the one on your geometry. Geometry attribute will overwrite shader settings on per item basis (per whole geometry, prim, point, vertex).
  • Quick Links