Rendering to only one camera
Hi,
I would like to use webcam textures, assigning them to plane objects by:
Now, I would like to obtain a stereo view by showing two of these objects separately (from separate webcams). How could I assign them to be shown -- one to left and one to right camera only?
Dragging these objects below CameraRight and CameraLeft doesn't seem to be enought. (Anyway, I don't even know if there would be some better way of doing this altogether!)
I would like to use webcam textures, assigning them to plane objects by:
void Start()
{
string camName = WebCamTexture.devices[camnumber].name;
CameraTexture = new WebCamTexture(camName);
CameraTexture.Play ();
renderer.material.mainTexture = CameraTexture;
}
Now, I would like to obtain a stereo view by showing two of these objects separately (from separate webcams). How could I assign them to be shown -- one to left and one to right camera only?
Dragging these objects below CameraRight and CameraLeft doesn't seem to be enought. (Anyway, I don't even know if there would be some better way of doing this altogether!)
