Depth Of Field for Android

Hello!
I am looking for an asset or script that adds Depth Of Field or custom focus to my Android Unity scene. The limitation is OpenGL ES 2.0/3.0 being the reason why post processing stack and Depth Of Field (Depricated) are not working. I also bought two assets from the store (FxPro and Physical Depth of Field) but nothing works.

I am thankful for a workaround. Please help me!

Thank you in advance :slight_smile:

If you do this on Android, I’d recommend to only do it if OpenGL ES 3.0 is available. That at least somewhat limits it to the more powerful devices. Even then you will probably need to keep it fairly simple. As in not trying to compensate for depth transitions. So, just making some blurred versions of the screen and then blending them based on the depth from the z-buffer.

Edit: This seems made for it:

Those others seem more desktop oriented.

1 Like