How to set vertex alpha

   5284   3   2
User Avatar
Member
3 posts
Joined: June 2017
Offline
Hi, so I know how to set a vertex color, but how do I set a vertex alpha?. It seems Cd only supports R G and B. I'd like to be able to set the alpha before exporting to 3ds max.
User Avatar
Staff
4164 posts
Joined: Sept. 2007
Online
Alpha in Houdini is a float, so you add it separate from Cd. This would work in a Vertex Wrangle, to add Color and Alpha as vertex attrs:

v@Cd    = {1,1,1};
f@Alpha = 1.0;
Edited by goldleaf - Aug. 2, 2017 18:19:28
I'm o.d.d.
User Avatar
Member
3 posts
Joined: June 2017
Offline
Thank you! It worked.
User Avatar
Member
49 posts
Joined: May 2019
Offline
As another option, Attribute Adjust Float [www.sidefx.com] with Attribute Name set to Alpha is equivalent to f@Alpha = 1.0;


Edited by AnimGraphLab - July 16, 2023 09:24:47

Attachments:
Untitled-2023-02-22-0738.png (2.3 MB)

3D Generalist. Transforming 2D images to 3D animations.
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
  • Quick Links