Hi
I wanna switch betwen two cameras. I know I can do that with:
Camera.enabled = true; //or false
But this happened from one frame to the next frame. I wanna blend the two cameras slowly.
Is there a way to do this in unity free, when yes how? A code example would be helpfull.
Thanks.
realm_1
The only way I would think this would be possible would be through render targets which are not a Unity Free feature.
Its rough, but you can go through all the obejcts in one camera and fade them in on a higher render plane with the clear flags set to clear the depth of field.
OR
You can simply take a picture of the last frame on one camera and render it in at the low clip plane of the current camera and fade it out, but that wouldnt give you any motion though.
CrossFade (This has some limitations that CrossFadePro doesn’t have, but that one requires Pro of course.)
–Eric
Ok, thanks.
But it doesn’t blend the cameras it do the same as Camera.enabled = true //or false. And it says me after switching that my camera is inactive.
Are you saying you’ve seen a double screen or were the two camera perspectives blended?
cool script, Eric5h5, though he would have also needed the ScreenWipes script (which if you clicked on a link in the middle of the first page you got.)
http://www.unifycommunity.com/wiki/index.php?title=ScreenWipes
It doesn’t blend. And I have the ScreenWipe script attached at the same Object as the CrossFade script.
Ok, yeah I solved the problem. I forgot to attach the ScreenWipe script to both cameras.
So and it works now.
Thanks.