4.17 Chroma Key for Render Target

Hello guys!

So I’m trying to get portraits for my characters after the player finished customizing them. I do this by using the SceneCapture2D object and a greenscreen. Then I get a Render Taget out of it, but I can’t seem to figure out how I can remove the green background… This has to happen during runtime if that helps…
So can you guys help me out?

Thanks!

So I resolved the issue myself with a material.
If anyone has the same issue, here you go:

There may be a slightly better way to achieve cleaner edges following tutorial here:

By Ryan Brucks