Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question discrepancy between sprite/image and background alpha

Discussion in 'UGUI & TextMesh Pro' started by JimWebs, Nov 9, 2023.

  1. JimWebs

    JimWebs

    Joined:
    Aug 2, 2023
    Posts:
    126
    I have this weird problem with a sprite/image that I'm superimposing on a background image. I fade both using canvas group alpha, but although they both use the same material and are both png, both images set up in same way on photoshop, rgb, the superimposed image has a halo around it where the edges are rough. This discrepancy disappears when alpha is 1 for both. I have a suspicion I'm supposed to do some kind of blending but it seems overly complicated and maybe there's something simple I'm missing that would fix this. Any ideas?
     
  2. JimWebs

    JimWebs

    Joined:
    Aug 2, 2023
    Posts:
    126
    Quick edit: minutes after writing this I discovered the problem. added canvas alpha wasn't updating during the fading animation; removed it all and rebuilt and now it works