In a game I'm working on we have our main camera in the world which we would like to have fog enabled. We also have a handful of other cameras that are in the world that render other things in the same scene to either a render texture or directly on top of the world (minimaps, etc). These cameras are all enabled at the same time for the final scene composition.
Is it possible to make it so that some cameras (or rather all the cameras other than the main camera) render the world without the fog enabled?
I slightly modified the script that Eric posted a link to to more suit my purposes. This class will let you specifically enable or disable fog on a specific camera instead of just enabling it.