I recently added fog to my 2D game to make it look better and it’s causing this weird line on my camera. I have no idea what it is nor what’s causing it other than that it’s the fog. Here is a screenshot
The white fog on the top right doesn’t cause any problems - I removed it and nothing changed. I think its the main black fog causing the problem. When my camera isn’t in the fog, the line doesn’t exist.
There’s also an exponential height fog in the background (the reddish color in the background) so I don’t know if that affects it.
Hi there, not sure what causes it but as you said if you delete the black fog and if the problem is gone then for sure its the problem. You can give a shot since its in front of many assets I beleive also should be the problem.
What is this black fog? is this a fog volume or a simple plane with texture?
Hi thank you so much for your reply, I appreciate it!!
Its a local fog volume, not made externally. And I just found out the black line happens with any color of the fog
I need the fog for the scene to look good, so I don’t know what to do in this scenario. I’m sure there are some setting I can change with the fog to make it so that, when the camera touches it, it doesn’t cause this line.