Hi I managed to get the rear view camera working by creating it after the main camera.
Otherwise it doesnt appear.
The problem is that I need to change the viewport of the rear view mirror to fill the whole screen and have the regular camera fill the place where the rear-view mirror was.
It all works except the smaller viewport doesnt appear at all after I switch their viewport co-ords.
Im assuming its because the larger viewport is rendered over the smaller one.
I solved this problem before by creating them in a certain order but now doing this would mean destroying and creating cameras whenever the player wants a better view in the mirror.
So.. is there any other way of controlling the order in which cameras are rendered?
Otherwise it doesnt appear.
The problem is that I need to change the viewport of the rear view mirror to fill the whole screen and have the regular camera fill the place where the rear-view mirror was.
It all works except the smaller viewport doesnt appear at all after I switch their viewport co-ords.
Im assuming its because the larger viewport is rendered over the smaller one.
I solved this problem before by creating them in a certain order but now doing this would mean destroying and creating cameras whenever the player wants a better view in the mirror.
So.. is there any other way of controlling the order in which cameras are rendered?