Rendering characters in UI image for inventory (Error Translucency)

Hello, I got a little problem, I add a SceneCaptureComponent2D on my thirdperson character to render it in my inventory UI. I did a material for the render target. But after that my character is translucens so I got a black background and a character with no color. You can see the image below.

This is what I did:

Create a Scene Capture for your character:

  1. Projection Type: Orthographic
  2. Ortho Width: 120
  3. Texture Target: Your created Texture Target
  4. Primitive Render Mode: Use ShowOnly List
  5. Capture Source: Scene Color HDR in RGB, inv Opacity in A
  6. Show Only Actors: Choose your Character

Texture Target:

  1. Size x: 1024
  2. Size y: 1024
  3. Texture Group: UI

Create a material out of your Texture Target

  1. Material Domain: User Interface
  2. Blend Mode: Masked
  3. RGB goes in Final Color
  4. From A put a 1-X node which goes into Opacity Mask

In your widget, add an Image and set your created material

Or you create a video of your character and play this video in your widget.

What happens if you invert the SceneCaptureComponent2D result? I think the wrong mask is returned which makes the menu look the way it does.

Can you showcase the result you get from the SceneCaptureComponent2D in its capture window?

Omg it work ! Thank !

No worries! Glad I could help! :slight_smile: