Unable to use Alpha vertex attribute with a Unreal mesh input

   3151   2   0
User Avatar
Member
2 posts
Joined: May 2019
Offline
Hello there,
I have some trouble with using HDA into Unreal Engin 4.
I try to get the VertexColor Alpha of a Static Mesh (with World outliner input) to add some unreal material.
I tried using the vertex attibute “Alpha” but it seems to not working.
Using "Cd" for exemple seems to work.Anyone of you already had this kind of problem ?
User Avatar
Member
2 posts
Joined: May 2019
Offline
Hi there,
In this case, the Alpha vertex attribute is not gettable from the unreal static mesh but you can get the p@Cd.w attribute instead.
So at the start of my Subnet I simply add a vertex AttribWrangle node with
f@Alpha = p@Cd.w;
Edited by SayJ - May 20, 2019 05:05:00
User Avatar
Staff
560 posts
Joined: Sept. 2016
Offline
Hi,

Thanks for reporting this, the plugin was indeed sending alpha values as Cd's fourth tuple value (Cd.w) instead of Alpha.
I've committed a fix to the plugin, so starting from tomorrow's daily build (17.5.264), alpha values will be set correctly as the Alpha vertex attribute.
  • Quick Links