Author Topic: explicit RenderQ and child UISprite alpha probrem  (Read 3057 times)

MasashiWada

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
explicit RenderQ and child UISprite alpha probrem
« on: May 26, 2014, 09:17:42 AM »
hi,

When RenderQ of UIPanel is explicit (3000), UISprite which the child of UIPanel has disappears.
Although UIPanel and UISprite alpha is 1.0, a child's UISprite disappears completely.
When alpha of UIPanel is 0.5, UISprite is translucent and visible.
However, although not necessarily seen, after I change active of UIPanel from a script, it sees frequently.
When RenderQ was Automatic, I did not see this at all.
Since I need to pile up the object and NGUI of another MeshRenderer, it is important that it can be normally operated by explicit.

NGUI ver 3.6.1 + Unity4.3.4f1 on Windows7 (android platform)

Is there any cause to which you occur about this?

MasashiWada

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
Re: explicit RenderQ and child UISprite alpha probrem
« Reply #1 on: May 26, 2014, 10:06:14 AM »
I can think that it is visible when UISprite of different atlas is mixed and sprite is changed in a script.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: explicit RenderQ and child UISprite alpha probrem
« Reply #2 on: May 26, 2014, 11:11:54 PM »
Explicit render queue means that the draw order is based on Z position, not depth. If it disappears, it means something is being rendered in front of it -- like another piece of UI.