SceneCapture2D transparent clear color?

Hi,
I try to make a minimap. I have setup a camera that renders to my SceneCapture2D and my material transfers it to my texture. The problem is that I want to have the black part transparent. How do I achieve that?

The code used to set the SceneCapture2D s clear color to transparent.

What am I missing here?
// Called when the game starts or when spawned
void AMiniMap_Cpp::BeginPlay()
{
Super::BeginPlay();
USceneCaptureComponent2D* sceneCaptureComponent = FindComponentByClass();
sceneCaptureComponent->TextureTarget->ClearColor = FLinearColor::Transparent;
}

i might be wrong. If the outline is red, take that red pin from the Texture sample and plug it in to the opacity.

i think changing it to additive instead of translucent will do it - or you can x minus 1 the node you are putting into the opacity mask (invert your alpha channel)

While this works brilliantly for the screenshot above, it doesn’t work if I add anything that is not red.

Changeing it to additive doesn’t do the trick because I couldn’t have anything black in my rendertexture. But the 1-x works (At least I have to check it with more data on it). Thank you.