Alpha from texture

   4761   1   0
User Avatar
Member
5 posts
Joined: 11月 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
2625 posts
Joined: 6月 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 - 2018年8月26日 09:53:51

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

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