Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: xiaoniaojjj on July 30, 2014, 09:00:16 PM

Title: Error about soft clip of UIPanel!
Post by: xiaoniaojjj on July 30, 2014, 09:00:16 PM
This function only can work on above OpenGL2.0?
It doesn,t work the clip on less than OpenGL2.0?
Title: Re: Error about soft clip of UIPanel!
Post by: Nicki on July 31, 2014, 07:42:49 AM
Yes, only 2.0 is supported.
Title: Re: Error about soft clip of UIPanel!
Post by: xiaoniaojjj on August 01, 2014, 08:38:19 AM
But ..... How to do it if less than 2.0
Title: Re: Error about soft clip of UIPanel!
Post by: ArenMook on August 01, 2014, 09:07:57 PM
You can't. Less than 2 means GLES 1.1, and that means no shader support. No shaders = no clipping.
Title: Re: Error about soft clip of UIPanel!
Post by: xiaoniaojjj on August 10, 2014, 05:06:22 AM
This error still happen when i build the apk for the Android.
It doesn't work when i set the Graphics level is "Automatic", But work fine when i set the Graphics level is "Force OpenGL2.0"
Title: Re: Error about soft clip of UIPanel!
Post by: ArenMook on August 10, 2014, 05:07:35 PM
You are likely running into this because it's trying to use GLES 3 instead. I'm not sure why the shader doesn't work on GLES 3 since it should be compatible with 2, and I'm just using a very simple Unity shader. If you figure out why that is, please let the rest of us know so I can fix it. :)
Title: Re: Error about soft clip of UIPanel!
Post by: xiaoniaojjj on August 10, 2014, 11:34:51 PM
I've confirm this error happen if from the OpenGL3.0 .   work fine on the OpenGL2.0,
Could you help me to resolve it ?
Title: Re: Error about soft clip of UIPanel!
Post by: xiaoniaojjj on August 11, 2014, 09:45:01 AM
Can you help to fix this error?
Title: Re: Error about soft clip of UIPanel!
Post by: ArenMook on August 12, 2014, 03:57:45 AM
As I said, I don't know why the simple shader doesn't work on GLES 3. It would be a question for Unity.
Title: Re: Error about soft clip of UIPanel!
Post by: xiaoniaojjj on August 12, 2014, 06:23:22 AM
If have any way to resolve it.  Please let me know. Thank you so much.