Render only camera viewpart

I want to render only came view part in game(not screenshots) . I mean when I look ‘tree1’ and house1, other objects must me disabled (tree2 and house2)

How do you want this to look, so when the player looks at a tree, they can only see that tree, and the background is black, or?

I want to get this effect…see 45:00 this video GDC 2014: Jasin Bushnaief - "Solving Visibility and Streaming in the The Witcher 3: Wild Hunt with Umbra 3 (Presented by Umbra Software)" : Free Download, Borrow, and Streaming : Internet Archive

If you are just wanting to do this for optimization reasons, it’s already done be the engine. See here:

thank you