Search Unity

Is it possible to downscale the entire Post Processing Stack?

Discussion in 'Image Effects' started by o1o101, Aug 31, 2019.

  1. o1o101

    o1o101

    Joined:
    Jan 19, 2014
    Posts:
    639
    Hi,

    Has anybody further optimized the built in post processing stack for mobile devices?
    For example Is is possible to run the entire post processing stack at like very low resolution while keeping the game at full?
    Does anyone know of other methods of getting the most performance out of it ?

    Cheers
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    Many effects rely on the image itself being roughly the same resolution. How would you (for example) downscale an ambient occlusion to 4x smaller resolution, then scale it up and apply the pixelated result over the high resolution image? Or color correction - you essentially rewrite the pixels to be of different color. You can't somehow magically downscale that.

    I think the easiest option is to limit usage of effects if your game gets performance issues. If you are making a game/app where it's possible to render the image in lower resolution (think pixelart game, for example), it would help. Half resolution means 4x less pixels to render. Another option could be to write your own image effects that achieve the same results as the pre-made effects do, oftentimes I think you don't need that high fidelity as those pre-made ones offer. You could also combine your effects to achieve some performance gains if you know what actually need.