Topic: Multi-Camera Rendering
Hey,
I have a particular use case where I would like to render the map with two separate cameras, each camera focused in on a different location. Due to how I am using my markers, I would like to have one map in the scene.
I've tried on PreRender to set the position of the map for that particular camera, redraw the map and then render the camera; but it seems like either the redraw isn't complete by the time the frame is rendered or the redraw is pushed to the end of the frame, either way, both cameras render the same variation of the map.
double lat, lon;
float zoom;
OnlineMaps map;
public void OnPreRender()
{
map.SetPositionAndZoom(lon, lat, zoom);
map.RedrawImmediately();
}
any suggestions or workarounds to get this to work?
Thanks for your help!