Announcement

Collapse
No announcement yet.

DomeLight how to disable shadows

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    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
    I only act like I know everything, Rogers.

    Comment


    • #3
      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"

      Comment


      • #4
        Hi,

        You can find the documentation about the API here: http://www.spot3d.com/vray/help/maya...ene_access.htm

        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
        V-Ray developer

        Comment


        • #5
          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:
          Code:
          from vray.utils import *
          
          p=findByType("LightDome")
          p[0].set("shadows", 0)
          Best regards,
          Vlado
          I only act like I know everything, Rogers.

          Comment


          • #6
            Thanks a bunch for your help guys!!

            Originally posted by vlado View Post
            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:
            Code:
            from vray.utils import *
            
            p=findByType("LightDome")
            p[0].set("shadows", 0)
            Best regards,
            Vlado

            Comment


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

              Best regards,
              Vlado
              I only act like I know everything, Rogers.

              Comment


              • #8
                Booojahh!! Thanks a bunch mate!

                Comment

                Working...
                X