Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

How to achieve Tilt Shift with Unity;s Post Processing Stack

Discussion in 'Image Effects' started by niralius, Sep 23, 2019.

  1. niralius

    niralius

    Joined:
    Dec 21, 2018
    Posts:
    1
    Hi,
    I'm trying to implement a tilt shift effect using the pps' depth of field, howver I cannot seem to make it only affect the edges of the top and bottom of the screen. I know how to achieve tilt shift in photography itself, but not how to bring it over to Unity. Is there a mask I can use to apply on top of the DoF in the pps?
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    You need to either create a custom effect yourself which is not trivial (depending on your skill level with shaders/image effects and graphics programming in general) or buy a ready-made effect. I think it might be worth investigating existing options like SC Post Effects Pack (https://forum.unity.com/threads/sc-post-effects-pack-post-processing-stack-effects.513191/) I have not tried it myself but it has tilt shift effect and a bunch of others too.