Render Target for for UI white pixel border

Im rendering a 3D model as part of the UI (character model), if I use the mask that generates from the camera capture its not tight enough against the model so it creates a single pixel white border around the model, its very ugly.

Is it possible to change the color area of the target texture to anything but white? Is that what Clear Color is for and if so why doesnt it work?

Or to make the mask a gradient mask instead of a pure white? Is there a way to generate a different mask from the same camera that is better?

2 Likes

No answers??? This has been asked for years.
Why are the settings for a professional finish on the edges of RT - using Unreal Engine 4/5 - a secret?

  • I have the same setup as you. Same Texture compression (and my tex res is 2048). And get the same unprofessional outline.
  • Yet I see games made with UE - their RTs look perfect.
  • What is the answer?

No answers yet?
Did you guys solve it?

Edit: Just solved it.
I needed to tick off every show flag in the SceneCaptureComponent except Static and Skeletal Meshes.

1 Like

It worked! Thanks man!!