Author Topic: NGUI 's UISprite wired behaviour  (Read 3516 times)

NCPLnaveen

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 5
    • View Profile
NGUI 's UISprite wired behaviour
« on: December 13, 2016, 02:39:08 AM »
Hello everyone,
                       From past 2 days, I'm having problem with creating Atlas's (some how worked) and now when i give that atlas to the UISprite, that shows perfectly when given it to a GameObject(card front side one image and other side another image). But when i run it,  the card front shows the image perfectly but when i flip it to other side it is not showing the image, i even changed the depth of the UISprite, even then it is not working(and behaving wried). But when with previous UISprites it was working. I'm unable to find out whats the problem.     

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NGUI 's UISprite wired behaviour
« Reply #1 on: December 15, 2016, 09:02:12 AM »
NGUI's geometry faces toward +Z. All NGUI's shaders are double-sided (cull off), so they are visible from either front or back, although one is obviously going to be flipped when you look at it. Check what shader you're using with your atlas.