Search Unity

Using Post processing asset from unity slows down game performance on mobile device.

Discussion in 'Image Effects' started by surajsirohi1008, Dec 7, 2017.

  1. surajsirohi1008

    surajsirohi1008

    Joined:
    Jun 21, 2016
    Posts:
    267
    Using Post processing image effects really change the look of my, I want to keep it but it drastically reduces fps on mobile device. What can I do to improve it?
     
    mohmedfakhry20121 likes this.
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,791
    Short of rewriting it, or wait for it to be a bit more optimised for mobile, not much.

    I don't think it was intended to be used on mobile.
     
  3. surajsirohi1008

    surajsirohi1008

    Joined:
    Jun 21, 2016
    Posts:
    267
    I
    I guess i'll have to wait then
     
  4. dadude123

    dadude123

    Joined:
    Feb 26, 2014
    Posts:
    789
    I've seen a few assets that deal with PP on mobile platforms, so maybe take a look at the asset store.

    The unity post processing stack was not intended for mobile at all, its made for best image quality first and foremost.
     
    Kronnect likes this.
  5. surajsirohi1008

    surajsirohi1008

    Joined:
    Jun 21, 2016
    Posts:
    267
    Gotta wait then
     
  6. Kumo-Kairo

    Kumo-Kairo

    Joined:
    Sep 2, 2013
    Posts:
    343
    You can take a look at Sleek Render https://forum.unity.com/threads/sleek-render-lightning-fast-mobile-post-processing-effects.502181/
    I have quite a few ideas explained and a few references there in the topic, so you're not even forced to buy it if you can implement everything yourself.

    I don't think Unity will optimize their buit-in PP stack any time soon because they already have some conditional expressions like #if MOBILE in their source code, which does have some minor performance improvements, but not much really. I also noticed that in some cases they put #if MOBILE OR CONSOLE there so they treat mobiles and consoles as equals in some cases, which is not always convenient.
     
  7. surajsirohi1008

    surajsirohi1008

    Joined:
    Jun 21, 2016
    Posts:
    267
    Looks like a great asset for mobile game developers, unity should focus on mobile development instead of XR and AI right now.
     
  8. Kumo-Kairo

    Kumo-Kairo

    Joined:
    Sep 2, 2013
    Posts:
    343
    They are actually focusing, we will get a scriptable rendering pipeline with SD version for mobiles somewhere around Unity 2018. It will also allow for greater performance in post processing (I'm still bound by some too-general Unity stuff)
     
  9. surajsirohi1008

    surajsirohi1008

    Joined:
    Jun 21, 2016
    Posts:
    267
    That's a great news
     
  10. jnbbender

    jnbbender

    Joined:
    May 25, 2017
    Posts:
    487
    It's too bad Unity 2018 doesn't work on Android.