Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: ababilinski on June 07, 2014, 06:20:27 PM

Title: NGUI Soft clipping not working when scrolling (Android) [resolved]
Post by: ababilinski on June 07, 2014, 06:20:27 PM
The scroll view does not clip the objects when the user is scrolling through the view. The scroll view works perfectly but seems to fail when exported.
 
here is a link to a screen recording taken off of my phone.
https://drive.google.com/file/d/0B9LpK1sHpGZ-TEVReko3cEFTMF84V0FyNnRMdTZHcTBESTFF/edit?usp=sharing (https://drive.google.com/file/d/0B9LpK1sHpGZ-TEVReko3cEFTMF84V0FyNnRMdTZHcTBESTFF/edit?usp=sharing)


I'm running version :3.6.1
I'm exporting to Android 4.2 or higher which supports higher quality textures.
Title: Re: NGUI Soft clipping not working when scrolling (Android)
Post by: ArenMook on June 07, 2014, 08:58:42 PM
Whenever clipping doesn't work, it means the appropriate shader was not loaded. This can be caused by running the game using the "Fastest" quality setting, targeting GLES 1.1 / ARMv6, or by moving NGUI's shaders out of their proper place in the Resources folder.
Title: Re: NGUI Soft clipping not working when scrolling (Android)
Post by: ababilinski on June 08, 2014, 06:54:28 AM
Quote
Whenever clipping doesn't work, it means the appropriate shader was not loaded. This can be caused by running the game using the "Fastest" quality setting, targeting GLES 1.1 / ARMv6, or by moving NGUI's shaders out of their proper place in the Resources folder.

I have the Shaders in in the Resources folder.
I disabled the fastest quality setting.
I also my device filter is ARMv7 Only.
Title: Re: NGUI Soft clipping not working when scrolling (Android)
Post by: ArenMook on June 09, 2014, 03:10:06 AM
Then I don't see why the clipping would fail. If it works in the editor, then it will work on the device unless something causes shaders to not work there. If you're not using the fastest quality setting and shaders are allowed in your quality settings, then it should work as expected. Provided the device actually supports shaders, that is.
Title: Re: NGUI Soft clipping not working when scrolling (Android)
Post by: ababilinski on June 09, 2014, 10:45:01 PM
I figured out the problem now. NGUI does not support GLES 3. Got it fixed now! thank you!
Title: Re: NGUI Soft clipping not working when scrolling (Android) [resolved]
Post by: yeagerj on June 11, 2014, 09:44:41 AM
For anyone else this is affecting, the solution (at least for us) was to set the graphics level in player settings to 'Force OpenGL ES 2.0' instead of 'Automatic'.

- Josh