Jump to content

How to set alpha channel with function


964racer

Recommended Posts

I have an image file (jpg) with RGB.  I would like to create an alpha channel in that image (or I can create one inphotoshop first before I bring the file into houdini) and then set the values in the alpha channel at each pixel to be a function of the RGB values.   (say X^2, for example).  It looks like the "function" node will allow me to operate on the RGB channels, but then how to I get the output of that into just the alpha channel (as a greyscale) and then set the RGB values to black ?   Does the "channel copy" do that for me ?  How would I set that up ?  Thanks...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...