Need help ViewportFrame for minimap

I have been trying to figure out how to show terrain using the ViewportFrame, im starting to think it’s impossible.
If someone could give me more insight on this, that would be great.
I tried cloning the terrain into the ViewportFrame via script, but all this did was show part of the map and broke the camera for it
I then looked at the output and you can’t clone terrain

I would not recommend using viewport frames for minimaps because they render the scene twice, meaning performance has the potential to be cut near in half. As for an alternative, I recommend Widgeon’s rendering program Minimap Creator [RoRender]