Answers.Body: <p>You can simply add it to Fusion, and then pipe the alpha video into a MatteControl node. Alternatively, if your image does not have an alpha, but is just black to white gradients, you have to first go into a bitmap node like this:</p>
  <p><a href="https://i.sstatic.net/VWO6d.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/VWO6d.png" alt="Mask image piped into bitmap node" /></a></p>
  <p>Now configure the bitmap node to use Luminance instead of Alpha as the channel:</p>
  <p><a href="https://i.sstatic.net/1UGYW.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/1UGYW.png" alt="Setting channel to luminance for bitmap" /></a></p>
  <p>Now you can use the output of that bitmap as a mask in the blue inputs of nodes, or as mentioned in the MatteControl.</p>
  <p>Or if you're using a Merge, you could also pipe it into the mask input of the merge node.</p>
  <p>You could in theory also pipe it into the blue mask input of the source footage, but that makes it so every instance of that footage will have the mask applied, so it's not reusable, which we generally try to avoid.</p>
  <p>So you can see the full setup here: (Note that Garbage mask of the MatteControl has to be set to invert)
  <a href="https://i.sstatic.net/aTr6a.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/aTr6a.jpg" alt="Full node setup" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-21T19:44:07.547Z
Answers.Text: Both MatteControl and Merge have multiple inputs and a ton of settings. I have tried both and couldn't get them to do this dead simple masking. Davinci nodes are quite frustrating :(
Answers.UserDisplayName: mik01aj
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-22T20:18:47.847Z
Answers.Text: Hi @mik01aj I added an explanation that shows how to do it with an image that doesn't have an alpha channel (Which I assume is your issue). Nodes can be a bit difficult to learn at first, but make things much easier once you understood them :) Don't get discouraged! If you're still confused, you could join the Blackmagic Discord: https://discord.gg/blackmagic-design-community-479297254528647188 where people are happy to help and it's easier than on Stack Overflow :)
Answers.UserDisplayName: Timothy Lukas H.
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-22T23:17:37.510Z
Answers.Text: Thanks for the details! The thing that confused me is that I need a bitmap node to convert an image to a mask (I'm guessing this is what it does). I'm coming from Blender where nodes are generally much simpler and they convert the datatypes automatically.
Answers.UserDisplayName: mik01aj
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-02-24T07:50:06.317Z
Answers.Text: The issue is that Fusion wouldn't know what your mask should be. Every image node has basically 4 channels: Red, Green, Blue and Alpha.
  You can use the image as a mask input, but then always the Alpha is used as such.
  So now to tell the program, that you want to use the RGB channels as mask, you put them through the bitmap which selects which channel (In this case luminance - the mix of RGB) should be used as a mask.
Answers.UserDisplayName: Timothy Lukas H.
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-12-11T16:54:59.820Z
Answers.Text: Had a similar need and didn't find a ready answer.  Also very new using fusion.  I ended up doing most of what @TimothyLukasH. described except I piped the bitmap straight into the clip that needed to be masked.  Worked perfectly
Answers.UserDisplayName: MichaelH
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-11-05T01:20:53.793Z
Answers.Text: @MichaelH Late reply, but yes that works. However it's often unfavourable, since you "irrevertably" destruct the original video and cannot get it back without the mask applied. (You can of course just remove the mask, but then you gotta rebuild your tree). So generally, at least when making bigger comps, it's recommended to not directly mask your mediaIns.
Answers.UserDisplayName: Timothy Lukas H.
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-03-04T09:21:46.490Z
Answers.LastActivityDate: 2023-02-22T20:16:44.980Z
Answers.LastEditDate: 2023-02-22T20:16:44.980Z
Answers.UserDisplayName: Timothy Lukas H.
Body: <p>Sorry I'm new, i can't find a tutorial to do this: i have a normal video and another one that i would like to use as an alpha mask to 'smooth borders' in davinci resolve, here is an example of my mask</p>
  <p><a href="https://i.sstatic.net/twA9G.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/twA9G.png" alt="enter image description here" /></a></p>
  <p>Can i do it on DaVinci Resolve? I suppose i should do it in Fusion, but can't figure out how.</p>
  <p>Thanks</p>
  
Tags: <davinci-resolve><mask><alpha>
Title: Using a video as alpha mask for another on Davinci Resolve
UserDisplayName: Daniele P.
ThreadText: # Using a video as alpha mask for another on Davinci Resolve
  
  (Asked by: username_0 on 2022-03-03)
  
  Sorry I'm new, i can't find a tutorial to do this: i have a normal video and another one that i would like to use as an alpha mask to 'smooth borders' in davinci resolve, here is an example of my mask
  
  [![enter image description here](https://i.sstatic.net/twA9G.png)](https://i.sstatic.net/twA9G.png)
  
  Can i do it on DaVinci Resolve? I suppose i should do it in Fusion, but can't figure out how.
  
  Thanks
  
  **Tags:** davinci-resolve, mask, alpha
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-03-04. Score: 2
  
  You can simply add it to Fusion, and then pipe the alpha video into a MatteControl node. Alternatively, if your image does not have an alpha, but is just black to white gradients, you have to first go into a bitmap node like this:
  
  [![Mask image piped into bitmap node](https://i.sstatic.net/VWO6d.png)](https://i.sstatic.net/VWO6d.png)
  
  Now configure the bitmap node to use Luminance instead of Alpha as the channel:
  
  [![Setting channel to luminance for bitmap](https://i.sstatic.net/1UGYW.png)](https://i.sstatic.net/1UGYW.png)
  
  Now you can use the output of that bitmap as a mask in the blue inputs of nodes, or as mentioned in the MatteControl.
  
  Or if you're using a Merge, you could also pipe it into the mask input of the merge node.
  
  You could in theory also pipe it into the blue mask input of the source footage, but that makes it so every instance of that footage will have the mask applied, so it's not reusable, which we generally try to avoid.
  
  So you can see the full setup here: (Note that Garbage mask of the MatteControl has to be set to invert)
  [![Full node setup](https://i.sstatic.net/aTr6a.jpg)](https://i.sstatic.net/aTr6a.jpg)
  
  > **Comments:**
  > **username_2**: Both MatteControl and Merge have multiple inputs and a ton of settings. I have tried both and couldn't get them to do this dead simple masking. Davinci nodes are quite frustrating :(  
  > **username_1**: Hi @username_2 I added an explanation that shows how to do it with an image that doesn't have an alpha channel (Which I assume is your issue). Nodes can be a bit difficult to learn at first, but make things much easier once you understood them :) Don't get discouraged! If you're still confused, you could join the Blackmagic Discord: https://discord.gg/blackmagic-design-community-479297254528647188 where people are happy to help and it's easier than on Stack Overflow :)  
  > **username_2**: Thanks for the details! The thing that confused me is that I need a bitmap node to convert an image to a mask (I'm guessing this is what it does). I'm coming from Blender where nodes are generally much simpler and they convert the datatypes automatically.  
  > **username_1**: The issue is that Fusion wouldn't know what your mask should be. Every image node has basically 4 channels: Red, Green, Blue and Alpha. You can use the image as a mask input, but then always the Alpha is used as such. So now to tell the program, that you want to use the RGB channels as mask, you put them through the bitmap which selects which channel (In this case luminance - the mix of RGB) should be used as a mask.  
  > **username_3**: Had a similar need and didn't find a ready answer.  Also very new using fusion.  I ended up doing most of what @TimothyLukasH. described except I piped the bitmap straight into the clip that needed to be masked.  Worked perfectly  
  > **username_1**: @username_3 Late reply, but yes that works. However it's often unfavourable, since you "irrevertably" destruct the original video and cannot get it back without the mask applied. (You can of course just remove the mask, but then you gotta rebuild your tree). So generally, at least when making bigger comps, it's recommended to not directly mask your mediaIns.  
  
  ---
  
  