Author Topic: panel clipping documentation  (Read 2808 times)

Gillissie

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 48
    • View Profile
panel clipping documentation
« 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?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: panel clipping documentation
« Reply #1 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.