Announcement

Collapse
No announcement yet.

ambient light and light select

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

  • ambient light and light select

    When attaching a VRayAmbientLight to a light select node the respective AOV renders black.
    Is this a bug or by design (seeing ambient lights are a little naughty)?

  • #2
    While it is clear the ambient light will not generate specular, you should see something from the diffuse part.
    Here I see something when using direct illumination, raw or diffuse mode of the light select.
    Can you describe your setup and parameters ?
    Christophe COT
    Software Developer - Chaos
    christophe.cot@chaos.com

    Comment


    • #3
      Attached is my test script and a screen shot:
      Click image for larger version

Name:	vray_light_select_ambient.jpg
Views:	261
Size:	50.3 KB
ID:	982429
      Attached Files

      Comment


      • #4
        When the light select uses direct diffuse, raw or illumination, you have something in the aov. The "full" mode provides indeed a black output.
        Looking at the code of the ambient light plugin, it is expected. The same calculation is used to fill the illumination, raw and diffuse channel, while the full channel is not handled at all.
        Maybe it should, but that's probably pointless since the full contribution is meant to add the indirect light contribution which in the case of an ambient light is 0.
        So at the end the full light contribution would be again equal to what you see in the diffuse channel so you can just set the mode the direct diffuse instead.
        Christophe COT
        Software Developer - Chaos
        christophe.cot@chaos.com

        Comment


        • #5
          Ah, I totally missed those settings in the LightSelect node. Thanks!

          Comment

          Working...
          X