Search Unity

Fade out animation texture glitch

Discussion in 'Animation' started by LucasPelle, Apr 17, 2015.

  1. LucasPelle

    LucasPelle

    Joined:
    Jan 25, 2015
    Posts:
    3
    I made a fade off animation (black texture gaining opacity) and it works fine in every scene in my game except in one. It glitches ~1/4 of the screen.

    Heres the image of what happens.


    If you still don't understand my problem, If you look at the picture, you can see that the black texture during the animation looks offcentered, but It isn't.

    What's fun is that I have a very similar scene, the only difference are the textures in it (animation and the black texture (the one that fades) are the same), and it doesn't glitch.

    PS. The only interaction of this animation with the scripts is the "SetTrigger" method, so I don't find necessary to post the code.
     
  2. LucasPelle

    LucasPelle

    Joined:
    Jan 25, 2015
    Posts:
    3
    I got it! If you are having the same problem, play around with the sorting layers!