Is it possible to add one more control to the Fog effect? It would be great to have a "Start Distance" slider which would determine the distance from the camera that the fog will start.
Currently If you want a thick looking fog every object in front of camera is covered in fog, in reality it does not happen unless you are covered in a smoke or similar medium.
In the example below Fog extinction distance is 150, the first person in front of camera is 3 meters away the landscape is 50 meters away.
Volume effects fog distance
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
System – Windows 11
My Behance portfolio, Blender plugin FB support group
This is a good use case for the 2D Plane fog trick. Make a plane that defines the start of your fog by applying a Specular material to it which has a IOR of 1, a Transmission of 1, Reflection of 0, and a Scattering Medium. Essentially it's an invisible plane with only the Scattering Medium altering what is visible behind it.
While the shader is applied to a 2D plane, the fog effect is calculated 3D, and interacts properly with light sources. It's fast, easy to control, and simple to set up.
While the shader is applied to a 2D plane, the fog effect is calculated 3D, and interacts properly with light sources. It's fast, easy to control, and simple to set up.
Animation Technical Director - Washington DC
I came across this trick 5 years ago while working on my client's project.
I'm hoping for a solution that doesn't involve tricks or workarounds.
I'm hoping for a solution that doesn't involve tricks or workarounds.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
System – Windows 11
My Behance portfolio, Blender plugin FB support group
Um, this is 3D CG animation, after all. Tricks and workarounds have been my bread and butter for 35 years, and will probably remain a core of the skillset until AI makes the entire field obsolete.J.C wrote:I came across this trick 5 years ago while working on my client's project.
I'm hoping for a solution that doesn't involve tricks or workarounds.

Animation Technical Director - Washington DC
35 years on bread and butter is far from healthy. You should have some proper vegetables and fruit insteadfrankmci wrote:Tricks and workarounds have been my bread and butter for 35 years...

CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
System – Windows 11
My Behance portfolio, Blender plugin FB support group
This is fine for still shots or simple animation but fails when camera has to rotate around the plane or do more advanced camera moves. You can animate the plane as well but it gets tricky and things can fall apart easily.
Win 10
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff
Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff
Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
I just make the plane a child of the camera, and it generally works fine. It will mess up with Z-depth passes, but it's easy enough to exclude the fog plane geometry from those if you need to output a separate Z. There are also instances where motion blur can get funky, but again, I'd generally render a motion vector pass sans fog plane for that.pegot wrote:This is fine for still shots or simple animation but fails when camera has to rotate around the plane or do more advanced camera moves. You can animate the plane as well but it gets tricky and things can fall apart easily.
Animation Technical Director - Washington DC
The plane effectively blocks all objects behind the plane for masks creation like cryptomatte or object id.frankmci wrote: I just make the plane a child of the camera, and it generally works fine. It will mess up with Z-depth passes, but it's easy enough to exclude the fog plane geometry from those if you need to output a separate Z. There are also instances where motion blur can get funky, but again, I'd generally render a motion vector pass sans fog plane for that.
Again this is a workaround suitable for specific cases. I asked if current tools could be improved, not if there are any workarounds... and I'd like to hear opinion from developers if possible.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
System – Windows 11
My Behance portfolio, Blender plugin FB support group
Yes, that's exactly what I meant by needing to do a separate pass for things like Z depth, which includes crypomatte and such. Sorry if my attempt to be helpful was misguided.J.C wrote:The plane effectively blocks all objects behind the plane for masks creation like cryptomatte or object id.
Again this is a workaround suitable for specific cases. I asked if current tools could be improved, not if there are any workarounds... and I'd like to hear opinion from developers if possible.
Animation Technical Director - Washington DC
Yet another workaround to fix workaround. Feel free to work like this. I prefer to ask developers to improve the software to avoid such issues.frankmci wrote:Yes, that's exactly what I meant by needing to do a separate pass for things like Z depth, which includes crypomatte and such. Sorry if my attempt to be helpful was misguided.J.C wrote:The plane effectively blocks all objects behind the plane for masks creation like cryptomatte or object id.
Again this is a workaround suitable for specific cases. I asked if current tools could be improved, not if there are any workarounds... and I'd like to hear opinion from developers if possible.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
System – Windows 11
My Behance portfolio, Blender plugin FB support group