Layered Shader - paint attribute and bring it into VOPS?

   368   2   1
User Avatar
Member
31 posts
Joined: Jan. 2008
Offline
Hello, I have done this years ago and cannot figure out how to get it to work again.

I want to use paint attribute to blend two materials together on a model. I believe I used create attribute and painted with that custom attribute, and then imported it into VOPS to use as a mask to blend materials.

However, I cannot seem to get it setup correctly. I have tried Get Attribute and Import Attribute in VOPS and plugging that into the alpha for the Layer Mix node, but I either get errors with the shader or no output.

Anyone know a basic setup for this or can point me in the right direction?
User Avatar
Member
396 posts
Joined: Nov. 2016
Offline
Try importing your attribute with the parameter node.
User Avatar
Member
31 posts
Joined: Jan. 2008
Offline
Thank you! Using parameter I can get the mask parameter to work, but cannot seem to get my own custom attribute to do the same. I'm wanting multiple layered textures, so I can't reuse mask with multiple attribute paints.

I'm setting my create attribute to float like mask. I assume that's not correct?

EDIT: Nevermind, it was a careless mistake. After adding my custom attribute to the Attribute Paint I wasn't actually switching the attribute parameter over to the new custom attribute.

Thank you again for pointing me the right way with Parameter in VOPS instead of Get Attribute or Import Attribute.
Edited by bdunaway - March 11, 2024 20:11:14
  • Quick Links