I have seen that in the last update there is no longer Fog-Bias in the refraction tab. I used it a lot for certain effects on glass. How is it used today?
They removed it. I use it a lot too. I think it could perfectly work with the new SSS and Volumetric mode. There is no need to remove it. Fog Depth does not produce the effect that Fog Bias do.
Please, bring Fog bias back
Hi
I would like too, to bring back this parámeter to vray 5.2, i use it A Lot, for example cristal vases, i hope vray team can bring back this option, is very usefull for a Lot of people.
Thanks
Hi guys,
A company wide decision was made for the fog bias parameter to be removed from the UI.
You can still show the parameter for any specific material using a script.
Here’s how you do it:
- Copy the name of the material you’d like to show the bias for
- Replace the materialName substring with yourMaterialName in the following script:
VRay::Context.active.scene["/materialName/VRay Mtl"][:fog_bias] = 0.5 VRay::refresh_ui
If your material is called **Generic** for example you should change the script to:
```
VRay::Context.active.scene["/Generic/VRay Mtl"][:fog_bias] = 0.5
VRay::refresh_ui
- Run the script in the Ruby console - the fog bias parameter will show up in the UI.
Note that if you set its value to 0 it’ll once again disappear.
Hope that helps,
Konstantin
How I do that in Rhino?
thanks for the reply
Here’s a Python script for Rhino:
import rhVRay as vray
vray.Scene.Plugin("/Generic/VRay Mtl").fog_bias = 0.5
vray.RefreshUI()
Is this something possible in Vray for Cinema4d too?
Hello @sirio76 ,
This can’t be done in V-Ray for Cinema4D as the parameter has been completely removed, not only hidden from the UI.
Ok thanks, it was a very useful feature though.