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:
- Projection Type: Orthographic
- Ortho Width: 120
- Texture Target: Your created Texture Target
- Primitive Render Mode: Use ShowOnly List
- Capture Source: Scene Color HDR in RGB, inv Opacity in A
- Show Only Actors: Choose your Character
Texture Target:
- Size x: 1024
- Size y: 1024
- Texture Group: UI
Create a material out of your Texture Target
- Material Domain: User Interface
- Blend Mode: Masked
- RGB goes in Final Color
- 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.