Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: JonathanBurroughs on June 26, 2014, 10:22:07 AM

Title: Visual artefact when moving camera after fade out [SOLVED]
Post by: JonathanBurroughs on June 26, 2014, 10:22:07 AM
Hello!

In my game I'm using "Camera Fade Out" / "Camera Fade In" to mask repositioning the game camera.

I wait until the fade is complete before using "Set Position" / "Set Rotation" on my game camera. But even so during the transition I get a brief blip where the full screen black effect vanishes and I can see the transition occur. After which "Camera Fade In" works as expected.

Does anyone know what might cause this?
Title: Re: Visual artefact when moving camera after fade out
Post by: JonathanBurroughs on June 26, 2014, 10:32:59 AM
I've done some more experimenting. So if I don't call "Camera Fade In" at all then at the moment when I reposition the game camera the full screen black effect is removed. Which seems odd.
Title: Re: Visual artefact when moving camera after fade out
Post by: Alex Chouls on June 26, 2014, 12:02:43 PM
The camera fade in/out actions use Draw Texture to render the effect, but the effect is only active while the action is active. As soon as you transition to the next state the effect stops. You could use Draw Full Screen Color to keep the screen black on the state that re-positions the camera...
Title: Re: Visual artefact when moving camera after fade out
Post by: JonathanBurroughs on June 26, 2014, 03:14:03 PM
Thanks, Alex. That totally fixed it!