- Home /
Blur postprocess different on iPadMini and iPadAir
Hi,
I am using the "FastBlur" post process shader from the Pro Image Effects pack. However I have noticed that when I run on iPad air it matches my PC and OSX builds perfectly but on the iPad Mini the blur shader causes everything to get much brighter.
I have isolated it to this shader by running no other effects. from looking over the shader code it seems to be doing a standard gaussian blur so I'm thinking it may be a precision issue with the weights adding up above 100%?
Has anyone else seen this issue before and is there a known workaround to get consistency on iOS?
Thanks
Adam
This also happens on my iPhone5, I wonder if this is a GLES3 vs GLES3 issue?
Answer by AdamSDS · Jun 17, 2014 at 03:53 PM
Ok I figured this out, In case anyone else has this issue it is because the downsample is using fixed4 precision. This is not high enough for some devices. upping it to half4 fixes the problem
Thanks AdamSDS for posting this ... I had this exactly problem.
Just to clarify, changing the method "fragDownsample" in the $$anonymous$$obileBlur.shader, fixed it for me as well.
Changed: fixed4 color = tex2D (_$$anonymous$$ainTex, i.uv20);
To: half4 color = tex2D (_$$anonymous$$ainTex, i.uv20);
Thanks again! Scott
Your answer
Follow this Question
Related Questions
WebRequest Post empty on iOS 1 Answer
Why are my rendering blurry on iOS? 1 Answer
How to accelerate and improve the rendering on iPhone ? 0 Answers
iOS export error 1 Answer