Support => NGUI 3 Support => Topic started by: marcusjung on November 09, 2012, 10:40:09 PM
Title: Particle Depth Issue
Post by: marcusjung on November 09, 2012, 10:40:09 PM
I'm trying to use shriken particle with NGUI. But Particle is always behind sprites of NGUI. I searched and finded similar issue like this http://www.tasharen.com/forum/index.php?topic=1859.0
But I can't understand that answer. It means that just change shader of paritcle? But changing shader means loosing transparency.
I'm looking foword to position particle above the sprite of NGUI. with transparency. Is it possible?
Title: Re: Particle Depth Issue
Post by: ArenMook on November 10, 2012, 11:38:44 AM
Yes, grab the Unity shaders (available freely from their website), and modify the shuriken particle shader's Queue. NGUI uses:
"Queue"="Transparent"
I'm not sure what shuriken particles use, but making it be something like
"Queue"="Transparent+1"
...would solve the issue.
Title: Re: Particle Depth Issue
Post by: marcusjung on November 11, 2012, 11:39:58 PM
Thanks for the your response. I will do that solution.