Alpha from texture

   370   1   0
User Avatar
Member
4 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
1807 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

Windows 7 32GB AMD FX8370 @ 4.1Ghz
nVidia 1070GTX 8BG RAM. Driver: 397.31
  • Quick Links