I am using an outline post process. It’s pretty straight forward. I have some parameters I use to dampen out the smaller lines a bit and do a fade out over distance.
I do the standard SceneDepth difference to the pixel up, down, left, and right and add that up and do a multiply and another multiply by the depth fade and a clamp. Nothing really weird.
Here is an example of the outline. Larger objects like buildings are great but it would be nice if the palm outline wasn’t so detailed and the grass was ignored altogether. Thoughts?
(ignore the cropped parts )
Here is the way I get the scene depth difference, this is for the pixel below, I just change the float 2 to get left, right, and up as expected. I add all 4 together and get outlines. Anything I could do to ignore smaller objects or just make the fidelity worse? I thought about using a Gaussian blur but that seemed really excessive. Maybe doing some kind of logic where if 3 or more directions are positive then I ignore it?