Announcement

Collapse
No announcement yet.

Removing ambient light from Specular Element

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

  • Removing ambient light from Specular Element

    Hi guys,

    To fake GI (as we're short of time here), we're using an ambient light with a dirt shader applied to it, that works great for adding in some fake GI, but the ambient light is showing up in the Specular Element of the renders, would any one know how I could remove it?

    Using Maya 2015, Vray 3.

    Thanks!

  • #2
    The ambient light has a parameter "ambient shade", set it to 0.0 to remove the highlights.

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

    Comment


    • #3
      Thanks Vlado, but I had tried that, it still seems to create a hotspot in the specular element though!

      The below are taken from a very simple scene, a cube (3 sides taken away) with an ambient light (with a dirt map as the colour) placed in the centre, Ambient Shade set to 0. And a grey Vray shader with the reflection glossiness set to 0.829.

      Link to a sample file: https://www.hightail.com/download/bX...T01ENlNGa2RVag

      Click image for larger version

Name:	Diffuse.JPG
Views:	1
Size:	15.5 KB
ID:	856350
      Click image for larger version

Name:	Reflect.JPG
Views:	1
Size:	16.4 KB
ID:	856351
      Click image for larger version

Name:	Spec.JPG
Views:	1
Size:	11.1 KB
ID:	856352

      Comment


      • #4
        Hm, this looks like a bug. Will investigate it.
        V-Ray/PhoenixFD for Maya developer

        Comment


        • #5
          Ah fair enough!

          Great, thank you for the help!

          Comment


          • #6
            Will fix this. If you want work-around, this can be fixed with post translate python:

            Code:
            from vray.utils import *
            lights = findByType('LightAmbient')
            for light in lights:
            	light.set("specular_contribution", 0.0);
            V-Ray/PhoenixFD for Maya developer

            Comment


            • #7
              Many thanks for the quick help and the work around. I'll give that a try!

              Comment

              Working...
              X