How to get a clear transparent background for SceneCaptureComponent2d?

This is for a character selection screen. I will post some pics to give you an idea what I am trying to do.

Thanks.




This UE 5.2.1 btw

bump

bump

bump

From what I can make of it, this process seemed to work easily with version 4, and after version 5 many threads suggest there were issues. Does anyone know anything? Thanks

Doesn’t the Alpha channel contain the mask for the character, plug it into the Opacity channel. It seems like the Render Target is capturing the alpha as well.

If this doesn’t work, make sure the character is captured at a location that doesn’t include a “background”.

1 Like

Awhile ago, I did it all again, new render target,new texture. And this time it gave the checkerboard background. However, that checkerboard background still appears in my widget button :frowning: .

IF I plug the alpha into transparency, it all goes black.

Any other ideas? Thanks

When I plugged the one below A into the transparency, it did give me a clear background in game. But it was just a white silhouette. No detail to the character. Plus I want an animated character. So I may have to drag a character into the map and try to do a scene capture component there.

Ok a little update here. Here is a video showing about how it should look. I found a way to somewhat get it working but it is still not right. As you will see the mannequin looks hollow. It looked some better using the multiplier node in the material. But I still feel like I am missing something simple here. Any help is greatly appreciated thanks.



Have you tried setting a ‘1-x’ material function node from the Texture Sample ‘A’ (Alpha) output pin to the ‘Opacity’ material result input pin?

1 Like

That was it! Thank you! May I ask what exactly that is doing?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.