Alpha from texture

   4037   1   0
User Avatar
Member
5 posts
Joined: Nov. 2016
Offline
Hi people i feel like is the most simple thing ever. why cant i seem to delete the alpha from the image? so when i import the png i just get the picture not the transparency as black?

Attachments:
wheres_the_alpha.hipnc (464.9 KB)

User Avatar
Member
2529 posts
Joined: June 2008
Offline
The .JPG file format does not and can not contain an alpha. That is why you find two images available for the bacon. One supplies diffuse color, the other supplies a black/white mask for the alpha. You can use two attributeFromMap nodes in this case. When fetching a known black/white matte image set the data type to float and map the data into the built-in in Alpha attribute. The follow up attributeWrangle takes the float input from the second input and integrates it into the mesh that contains the Cd color diffuse attribute.
Edited by Enivob - Aug. 26, 2018 09:53:51

Attachments:
Untitled-1.jpg (74.0 KB)
ap_heres_the_alpha.hipnc (454.9 KB)

Using Houdini Indie 20.0
Ubuntu 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
  • Quick Links