Author Topic: Error about soft clip of UIPanel!  (Read 4221 times)

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Error about soft clip of UIPanel!
« 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?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Error about soft clip of UIPanel!
« Reply #1 on: July 31, 2014, 07:42:49 AM »
Yes, only 2.0 is supported.

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Re: Error about soft clip of UIPanel!
« Reply #2 on: August 01, 2014, 08:38:19 AM »
But ..... How to do it if less than 2.0

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Error about soft clip of UIPanel!
« Reply #3 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.

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Re: Error about soft clip of UIPanel!
« Reply #4 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"

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Error about soft clip of UIPanel!
« Reply #5 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. :)

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Re: Error about soft clip of UIPanel!
« Reply #6 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 ?

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Re: Error about soft clip of UIPanel!
« Reply #7 on: August 11, 2014, 09:45:01 AM »
Can you help to fix this error?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Error about soft clip of UIPanel!
« Reply #8 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.

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Re: Error about soft clip of UIPanel!
« Reply #9 on: August 12, 2014, 06:23:22 AM »
If have any way to resolve it.  Please let me know. Thank you so much.