Author Topic: Particle and render Q  (Read 2497 times)

iwishash

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Particle and render Q
« on: December 10, 2013, 08:58:32 AM »
Hi,
I upgraded my project from 2.7 to 3.0.7 f1 and changed all of my panel's z depth to panel depth to draw correct order. (hard work :'()
But it's not worked for non NGUI widget. The Unity particle objects.
I couldn't see particle above UI.
I read new documentation of UIPanel.
There's article about Render Q option. It seems the function what I wanted.
But..give me just more information to follow.
The particle object located in my panel A.
I made another panel B for particle and moved particle objects to here and set the Render Q option to "Start At" with 3001 value.
Nothing changed. :(
Other setting (Explicit) was same as well.
What did I wrong?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Particle and render Q
« Reply #1 on: December 10, 2013, 09:53:31 PM »
NGUI won't change particle systems for you. That's something you need to do yourself. If you know that your particle system is drawn with a render queue of 3000, set your panels to render queues above or below it accordingly.

I suggest creating a custom shader for your particle system where you set your own render queue explicitly.