Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Gillissie on July 27, 2013, 01:37:19 PM

Title: panel clipping documentation
Post by: Gillissie on July 27, 2013, 01:37:19 PM
Is there documentation on how the clipping options work? The class description for UIPanel barely says anything about the clipping option. http://www.tasharen.com/ngui/docs/class_u_i_panel.html

In particular, I'm curious what the "Alpha" option is for and how it is different than the hard and soft options?
Title: Re: panel clipping documentation
Post by: Nicki on July 27, 2013, 02:20:53 PM
Hard is obsolete and is not used anymore (switches to alpha under the surface).

Soft makes a soft edge on the clipping, which you can set on the UIPanel, and it is slightly slower than alpha.

Alpha makes a hard edge by setting the alpha channel in the shader.

Look inside the shaders to see the specific differences.


Not having any clipping is always slightly faster performance than either of the others.