mob-sakai / UIEffect

UIEffect is an effect component for uGUI element in Unity. Let's decorate your UI with effects!
https://github.com/mob-sakai/UIEffect
MIT License
5.62k stars 773 forks source link

UIEffectCapturedImage: on android have no effect #174

Closed xiangyuan closed 5 years ago

xiangyuan commented 5 years ago

mac editor is ok but on android the blur effect can not be feel

Environment (please complete the following information):

Additional context Add any other context, screenshots or gif animations about the question here.

all resource is build assetbundle

  1. here is on the mac editor and the component parameters, all is ok.

image

  1. now seam parameter on android device, the blur effect just like don't have. image

  2. one more thing , if the immediate capturing not toggle the android device blur is black image

mob-sakai commented 5 years ago

Hi @xiangyuan Thank you for your reporting!

Can you test under different conditions?

NilokiloxD commented 5 years ago

I had the same issue, only forcing to open gl 2.0 solved it. Open gl 3.0 and Vulkan and maybe even metal are not working.

Any plans for supporting them?

mob-sakai commented 5 years ago

Hi @xiangyuan Thank you for your reporting.

I hope solve it. However, to be honest, I do not know how to solve it. :( Probably, I should use GPU debugger.

xiangyuan commented 5 years ago

@mob-sakai i have make a test, click a button the invoke the capture method. invoke many times(5 ~6) then the blur effect can say, the graphics order as follow. image

maybe some blur algorithm problem. thanks your great project.

mob-sakai commented 5 years ago

Thank you, @xiangyuan

xiangyuan commented 5 years ago

@mob-sakai i know the problem. if i use assetbundle to compile package apk, which will hove no effect. but if i move the shaders and mat to resources to package apk. it will work.

not about graphics order list. thanks again.

mob-sakai commented 5 years ago

@xiangyuan Oh... Hmm, I should change architecture of this plugin again...

mob-sakai commented 5 years ago

Thank you for your information!