Hello, So I would like to utilise the in game fog feature, I kind of understand how it works and it generally revolves around your camera and everything is calculated based on the distance from your camera. Is there a way, whereby In game objects can have reduce fog effect around them?
Not with that effect, no. That fog literally just measures the distance between the camera and the thing being rendered on a particular pixel, and sets a fog amount for that pixel based on that. There’s no calculation that is done to decide whether that pixel passes through a given area and to not render the fog there if it is. There honestly just can’t be - the calculation is incredibly simple for the sake of performance.
You could use a different means of rendering fog. Specifically, what you need is volumetric fog. There are a thousand different ways to do volumetric fog that you should be able to find via google; tons are available in tutorials and on the assets store, and all have different tradeoffs. With volumetric fog, you can specify specific areas to fog up or to not fog up.
@Mortalanimal have you considered using HDRP? It has volumetric fog and it supports fog Density Volumes that can also be textured. Although I don’t think it supports negative volumes.
hey, umm… no I have never used HDRP, the main thing I need is so that my units vision range can remove the fog (within the range). I also want the fog to be volumetric because the camera can be more than birds eye view (like FPS view).