Use point Cd in shader opacity

   3214   3   0
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
Using the Classic Shader I need to get point Cd into opacity. Easy enough with the Use Point Color checkbox for diffuse color (also cool that it's automatically multiplied by the basecolor) but I need to do this with opacity as well. How would go about that? Many thanks!
User Avatar
Member
471 posts
Joined: Nov. 2013
Offline
Hi there.
Use shading layer parameter in order to fetch the point color from SOP when you are in material context.
User Avatar
Member
2041 posts
Joined: Sept. 2015
Offline
You could do this with a wrangle:

v@opaccolor = @Cd;
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
Thanks y'all, works like a charm
  • Quick Links