DomeLight how to disable shadows

Hey guys,

am i missing something?
How can i disable shadow casting when using a domelight.
There is no option for that…

cheers

Hm, oddly enough the option is missing in the UI. Will make a note to fix this, but in the meantime you can turn the option off directly on the V-Ray plugin from the Python scene callback.

Best regards,
Vlado

Thanks for that Vlado. But maybe you can describe it a little bit more --> “you can turn the option off directly on the V-Ray plugin from the Python scene callback”

Hi,

You can find the documentation about the API here: Chaos: Industry-leading design and visualization software

The type of the plugin exported for dome light is named “LightDome” and the parameter you have to set to false is called “shadows”.

/Teodor

Yep, what Teodor said. If you have just one dome light in the scene, the Python script that you need to enter in the “Post-translate Python Script field” is this:```
from vray.utils import *

p=findByType(“LightDome”)
p[0].set(“shadows”, 0)


Best regards,
Vlado

Thanks a bunch for your help guys!!

The option to enable/disable shadows for the dome light is now implemented for the latest nightly builds.

Best regards,
Vlado

Booojahh!! Thanks a bunch mate!