Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: choijhy7 on June 20, 2013, 10:27:38 PM

Title: unity-sysfont clipping bug
Post by: choijhy7 on June 20, 2013, 10:27:38 PM
Thanks for your work. I am using it well, but there're some bugs in the plugin.

I attached screen shot.


I think it is related to the issue

https://github.com/imkira/unity-sysfont/issues/2

and it saids it is solved, but i think the bug is still exist.
If I use UISysFontLabel in the item of ui draggable panel, then the clipping is not applied in ui draggable panel as shown in the screenshot.
(I'm using hard-clip and tried to use alpha-clip, but it doen't work too.)

I'm using latest unity 3.x and ngui version(3.5.7f, 2.6.2 correspondingly)

thank you.
Title: Re: unity-sysfont clipping bug
Post by: ArenMook on June 21, 2013, 03:03:57 AM
I don't know what UISysFontLabel is. NGUI can only perform clipping if the material used by whatever you're drawing is using Unlit/Transparent Colored or Unlit/Premultiplied Colored shaders.

Nested clipping is also not supported -- so if you have child panels, then they will break clipping set by the parent.