Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: nguiman on April 10, 2014, 09:08:12 PM
-
I have a UIPanel/UIGrid (no UIScrollview) under a UIWidget container, I'm using the panel's 'Soft Clip' to constrict the grid to within the widget as it scrolls. But I find that the panel (and all elements under it) flicker as it scrolls and the UILabels (dynamic fonts) for each item are illegible (looks like white boxes that flicker as well).
I tried separating each by depth, but that didn't solve the issue.
How can I resolve this? and what is causing it?
-
Pic? Version of NGUI? There is no "Soft Clip" anymore in the latest.
-
v3.0.7 f2, and its unlikely I can upgrade since that could break other UI dependencies.
Attached is what I'm seeing, trying to translate the UIPanel/UIGrid in the inspector. The entire panel and content flickers on and off (and not necessarily together) when within the panel's visible non-clipped region.
I'm further having difficulty placing the UIPanel and its hierarchy over a UISprite.
Also where is Soft Clip being set now?
-
That explains a lot. 3.0.7 is extremely old. There's not much I can do if you can't upgrade. I release fixes every update.
-
are UIWidgets now able to Soft Clip? or has that feature been removed entirely?
-
Soft clipping is the only clipping shader that remains. It hasn't been removed, but the shaders have been renamed.