Godot Version
4.2.2
Question
In the description for the fog density parameter, it says it uses some kind of exponential function to calculate the fog, but what exactly is that? I want to replicate the standard godot fog in a shader, so i need an exact formula that determines the fog opacity based on the distance from the camera and the density parameter.