Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: MasashiWada on May 26, 2014, 09:17:42 AM

Title: explicit RenderQ and child UISprite alpha probrem
Post by: MasashiWada 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?
Title: Re: explicit RenderQ and child UISprite alpha probrem
Post by: MasashiWada 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.
Title: Re: explicit RenderQ and child UISprite alpha probrem
Post by: ArenMook 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.