Hi
I have a very special use case where i need to access the output of several cameras as Color or byte arrays, merge these data and display the results in real time (imagine a mosaic of, lets say, 8 camera videos). reason for that is a projekt i am working on which uses this output to display it as stereo3d, just from different perspectives so i need more than 2 cameras to get switchable angles.
what is the best way to grab the final rendered image from multiple cameras, process it, and pass the result on to the screen?
so far i tried using OnRenderImage to get camera data, ReadPixels (of Texture2D Object) to get the Pixel Array and onGUI() to draw the result. But the result is far from even okayish because the result is not rendered constantly but maybe with 1fps while the actual camera output of the maincamera is still shown in the background. i need to change the output of the main camera to the result of the processing of the color-arrays.
so is there any way to accomplish this or does unity hide too much low lvl data behind read only variables so it cant be done?