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?
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 ( SC Post Effects Pack [Built-in/URP] - 34 additional effects ) I have not tried it myself but it has tilt shift effect and a bunch of others too.
Plop, doing some Necromancy for this topic :
Took this : GitHub - imclab/TiltShift: Tilt-Shift lens effect for Unity
Merged it with this : Custom post-processing | High Definition RP | 14.0.11
Files (for HDRP) attached
Hope that helps people using Search engines ^^
9679202–1379960–TiltShift.cs (3.18 KB)
9679202–1379963–TiltShift.shader (3.19 KB)