I’m trying this script http://www.unifycommunity.com/wiki/index.php?title=ScreenWipes
and it works great but is it possible to fade in camera 1 and fade out camera 2 at the same time?
I’m trying to set renderTexture for both of them but the result picture is too dark,
any idea?
Most of the concepts for wiping or fading are simple. The thought of “fade one out and one in” is a misnomer. Draw camera 1, draw camera 2 on top of it, slowly fade camera 2 out, then when it is finally clear, all you have left is camera 1.
so:
yield ScreenWipe.use.CrossFade (camera1, camera2, fadeTime);
just becomes:
yield ScreenWipe.use.CrossFade (camera2, camera1, fadeTime);