We have environment fog in our scene. It works wonderfully, but it is very visible on the horizon. I have already tried it with fade out and ray filter, but I cannot eliminate the fog on the horizon/background. Am I doing something wrong or am I missing something?
The issue you faced with the visible fog on the horizon was likely due to the significantly increased “Step Size” in the Raymarching Tab. This parameter controls how finely the fog is sampled, affecting accuracy.
By increasing the “Step Size,” you took larger steps through the fog volume, potentially missing finer details, especially at a distance. This led to the pronounced appearance on the horizon.
Setting the “Step Size” closer to default helped because smaller steps capture more detail.
Additionally, consider using a Falloff map in the fog’s transparency slot. This can help smoothly fade out the fog towards the horizon, enhancing realism.
I had used the documentation as a guide.
Because the Fog Distance is so large, I had also increased the Step Size by half. Of course, this also helped with the rendering speed. What would be the correct way to create such a fog?
You’re absolutely right, the documentation provides a solid guideline for using the “Step Size” parameter. Increasing the “Step Size” can indeed improve rendering speed, and adjusting it based on the “Fog Distance” is a valid approach. However, in cases like yours where the “Fog Distance” is quite large, it’s important to find a balance that maintains both accuracy and performance.