Author Topic: Weird clipping on UIPanels....  (Read 4200 times)

seonr

  • TNP Alpha
  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Weird clipping on UIPanels....
« on: December 25, 2012, 01:03:35 AM »
So I am experiencing some weird clipping in UIPanels, where it kinda works when I am no dragging anything, but when I drag the contents (of a UIGrid) everything is show (no clipping) but when I left go of the mouse button, I get some flickering and then contents clips again... kinda.

Example video can be found here...
https://dl.dropbox.com/u/4779625/Weird%20Clipping%20UIPanel.mov

Anyone with some ideas on why this is happening and how ti fix it?

BTW NGUI 2.2.6c, Unity 4.0f7, example video is on OSX platform in Unity with no Graphics emulation set.

PoN

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 4
  • Posts: 111
    • View Profile
Re: Weird clipping on UIPanels....
« Reply #1 on: December 25, 2012, 05:56:34 AM »
Check your resize script on ClipPanel and delete if has.
Worked on Doc&DogAge Of Fury 3D. Actually working on WarMach.

seonr

  • TNP Alpha
  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Re: Weird clipping on UIPanels....
« Reply #2 on: December 26, 2012, 01:17:14 AM »
Turns out it was some optimisations I made to the Shaders. It's a pity the shipping shaders are not at all optimised for performance on Mobile.