Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: woshihuo12 on July 15, 2014, 12:25:20 AM

Title: i have a problem: items in UIScrollView with particles..
Post by: woshihuo12 on July 15, 2014, 12:25:20 AM
i have some items in a UIScrollView and the items attached with some particles...to let particles show,i changed particles RQ (4000)..but when i scroll items. the hide items's particles still can show...
so what can i do to hide particles with hidden items..
Title: Re: i have a problem: items in UIScrollView with particles..
Post by: ArenMook on July 15, 2014, 12:57:30 AM
NGUI does clipping by using special shaders. You won't be able to make particles clip unless you write special shaders first. Have a look at the difference between "Unlit - Transparent Colored" and "Unlit - Transparent Colored 1" shaders, for example.
Title: Re: i have a problem: items in UIScrollView with particles..
Post by: woshihuo12 on July 15, 2014, 07:03:52 AM
NGUI does clipping by using special shaders. You won't be able to make particles clip unless you write special shaders first. Have a look at the difference between "Unlit - Transparent Colored" and "Unlit - Transparent Colored 1" shaders, for example.

the clip panel use the shader "Unlit - Transparent Colored 1 " ??
Title: Re: i have a problem: items in UIScrollView with particles..
Post by: ArenMook on July 15, 2014, 09:38:39 PM
The panels replace shaders with their clipped version only for NGUI's widgets. Particles are not NGUI's widgets.
Title: Re: i have a problem: items in UIScrollView with particles..
Post by: zzzz0000aa on June 29, 2016, 09:12:10 PM
Same problem,How to solve it ,now?Can you help me?