- Posts: 17
- Joined: Sat Aug 29, 2015 7:10 pm
- Location: Sweden/Portugal
If you are combining alpha and RGB then you have choices, here's two of them.
One is loader and loader to Channel Boolean node, put your RGB in the foreground input, your alpha in the BG, and set the copy as mode, and bg alpha to alpha
If your foreground is not pre-multiplied, then you will have to do that. This can be done by adding a matte node, and selection post multiple.
Another option is simply to use the matte node, and do a copy alpha with post multiple.
Your setup looks reversed. your adding mask input from RGB into the alpha. I personally don't like to mask the loader with another loader, it leaves you with limited control. copy/paste the code below into your flow.
- Code: Select all
{
Tools = ordered() {
Loader4 = Loader {
Clips = {
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
},
ViewInfo = OperatorInfo { Pos = { 980.68, -145.178, }, },
},
MatteControl1 = MatteControl {
CtrlWZoom = false,
Inputs = {
MatteCombine = Input { Value = 4, },
PostMultiplyImage = Input { Value = 1, },
Background = Input {
SourceOp = "Loader3",
Source = "Output",
},
Foreground = Input {
SourceOp = "Loader4",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1093.52, -197.211, }, },
},
Loader3 = Loader {
Clips = {
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
},
ViewInfo = OperatorInfo { Pos = { 981.626, -196.265, }, },
},
Loader2 = Loader {
Clips = {
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
},
ViewInfo = OperatorInfo { Pos = { 976.896, -265.327, }, },
},
Loader1 = Loader {
Clips = {
},
Inputs = {
["Gamut.SLogVersion"] = Input { Value = FuID { "SLog2", }, },
},
ViewInfo = OperatorInfo { Pos = { 975.949, -323.037, }, },
},
ChannelBooleans1 = ChannelBoolean {
Inputs = {
ToAlpha = Input { Value = 8, },
Background = Input {
SourceOp = "Loader1",
Source = "Output",
},
Foreground = Input {
SourceOp = "Loader2",
Source = "Output",
},
},
ViewInfo = OperatorInfo { Pos = { 1102.98, -324.929, }, },
},
},
}