Getting Meshes to only render though 2Dcapturecomponent

Hi, how would i go about making it so a mesh can only render in a Minimap using a 2D capture? im going to use it as a way of showing moving enemys etc



you can do that via Custom Depth.

Check the Custom Depth of all your Characters that should be shown in the map.

Create a post process material that renders those characters.

It would take too long to explain here.

I have made a project that explains it. Focus on the Custom Depth Render Target: