Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: m1 on September 12, 2011, 06:35:25 PM
-
Does anyone else experience this? When I trigger a Camera fade out, I see 2 things wrong.
#1: One of the items on screen does not fade out, although the others do. The one that doesn't fade out is the one that was created using the playmaker Draw Texture action. The other items on screen are all GUI Textures.
#2 When a Camera fade occurs, fade seems OK until it is at 100% black, then it flashes back to 100% full again for a split second.
My goal is to fade the camera, load a new level and fade the new level in. Is there a fix, or a better method?
Thanks!
Brian
-
#1 is tricky since Camera Fade Out uses DrawTexture behind the scenes. You might be able to play with Set GUI Depth... I'll take a look at the action also to see if I can set the depth there.
#2 is fixed in 1.2.1. If you want to fix it locally, edit CameraFadeOut.cs and remove Finish(). This ensures that the action continues to draw black while the state is active.
-
I use a plane that I put right in front of the camera (linked to the camera) that I fade in to simulate a camera fade out. Would this not work in your situation?
-
I guess it's now fixed in the new version. Thanks for that.
-
Hello I have PlayMaker version 1.7.7, Unity version 4.6.1, and am still having problem #2.
What do I do?
-
Hello I have PlayMaker version 1.7.7, Unity version 4.6.1, and am still having problem #2.
What do I do?
Hi pixelrat - the fade out cancels when you change state so if you move to a new state after the fade out, for example to load the next scene, then just add a "draw fullscreen color" action in the final state and set it to black or whatever. That keeps the screen black!
-
"Hello I have PlayMaker version 1.7.7, Unity version 4.6.1, and am still having problem #2."
if you are having trouble with #2, I'd suggest some more fiber in your diet.
Here is link to pics to fix this. BTW, the original post was several years ago which means GUI. You are doing this in 2015 so UI.
http://hutonggames.com/playmakerforum/index.php?topic=9351.0
-
Camera fades weren't working for me. Turns out if you remove the Playmaker GUI object that playmaker automatically adds, it won't work.