I’m using the global fog script that comes with the Unity standard assets image effects and for the most part it’s fantastic. However I’d also like the skybox to be visible so I’ve checked the option to “Exclude Far Pixels”. This does the trick but there’s a really nasty transition between the objects in the scene and the skybox. Essentially at the transition point there’s a flickering line where the script can’t seem to decide whether or not to apply fog. The images below illustrate the issue. How might this be solved? Thanks!
For any wondering, the problem was solved by disabling anti-aliasing in the project quality settings. Afterwards, I was able to add a separate anti-aliasing script to the camera such that it was applied after the fog script.