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?
Announcement
Collapse
No announcement yet.
Where is Fog Bias today?
Collapse
X
-
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:
Code:VRay::Context.active.scene["/materialName/VRay Mtl"][:fog_bias] = 0.5 VRay::refresh_ui
Code: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.
Hope that helps,
Konstantin
- Likes 1
Comment
-
Originally posted by konstantin_chaos View Post
Here's a Python script for Rhino:
Code:import rhVRay as vray vray.Scene.Plugin("/Generic/VRay Mtl").fog_bias = 0.5 vray.RefreshUI()
3D Scenes, Shaders and Courses for V-ray and Corona
NEW V-Ray 5 Metal Shader Bundle (C4D/Max): https://www.3dtutorialandbeyond.com/...ders-cinema4d/
www.3dtutorialandbeyond.com
@3drenderandbeyond on social media @3DRnB Twitter
Comment
-
Ok thanks, it was a very useful feature though.3D Scenes, Shaders and Courses for V-ray and Corona
NEW V-Ray 5 Metal Shader Bundle (C4D/Max): https://www.3dtutorialandbeyond.com/...ders-cinema4d/
www.3dtutorialandbeyond.com
@3drenderandbeyond on social media @3DRnB Twitter
Comment
Comment