Announcement

Collapse
No announcement yet.

Light Select Limitation - Number of Light x Light Groups 15x4 -> 60 - Indirect Pass gets black

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

  • Light Select Limitation - Number of Light x Light Groups 15x4 -> 60 - Indirect Pass gets black

    Hi,

    We got a big issue in production.
    We are breaking our lights in 4 passes per light group, so we have more control in comp.

    - Direct Diffuse
    - Indirect Diffuse
    - Direct Specular
    - Indirect Specular

    We tested all the latest Vray versions with simple scene spheres and planes for Maya 2020-2024 and all got the same problem.

    The limit is 15 lights using the setup above. 15 lights x 4 = 60 light Select groups


    Above 15 lights x4 = 60.
    After this number, we can see direct diffuse and direct specular.
    BUT Indirect Diffuse and Indirect Specular comes as BLACK for light select 16 or above. bellow still working.


    We know we can group lights to minimize this issue.
    But is this limitation correct or there is a bug?

    Best




  • #2
    I can't seem to reproduce it. It works fine on my end with more than 60 light select groups. Mind if you attach that simple setup so we can troubleshoot? Also, which V-Ray version build are you testing with?
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Hi Aleksandar,

      I just attached previews which show the problem.
      Also inside the ZIP file you can see the maya file simple test and a video showing the problem.
      Light 16 Up, will get its indirect diffuse and specular as black Click image for larger version

Name:	previewNukeLayerContact.png
Views:	164
Size:	392.1 KB
ID:	1192823

      Click image for larger version

Name:	image.png
Views:	160
Size:	526.5 KB
ID:	1192821 Click image for larger version

Name:	preview_LightSelect.png
Views:	159
Size:	102.6 KB
ID:	1192822
      Attached Files

      Comment


      • #4
        Okay, I can confirm there's a limit of 64 individual light selects. There's a note about it in the LightMix docs, which should probably be on the VRayLightSelect page too. I suggest you group the lights in a certain way to avoid the limitation.
        Maybe LPEs could come in handy too (i.e. combining indirect/direct specular into one pass). The LPE for Direct Specular + Indirect Specular should look like this:
        Code:
        C<R[GS]>(L|.+L)
        Aleksandar Hadzhiev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          Hi Aleksandar,

          My heart has now just been broken by this limitation
          We are rendering a supermarket with several lights, pity not to be able to freely add lights and control in post. There is no way to remove this limitation by a scripting variable or somehow? or maybe a future update?

          we will try grouping more lights

          Thanks for the quick reply.​

          Comment


          • #6
            Hi Aleksandar,

            Sorry for asking again,
            The limitation of 15 lights/groups for the split in 4 passes(Direct Diffuse, Indirect Diffuse, Direct Specular, and Indirect Specular) is so low.
            Is there any variable that we could increase this value?
            Or maybe a future fix?

            Would you know why such a limitation?

            Comment


            • #7
              No such variable exists, I'm afraid. As I mentioned earlier, you could use LPEs to combine Direct Specular + Indirect Specular. If you render a Specular pass separately, you could extract it from the whole to get the Indirect Specular. To get the Direct Specular only extract the newly created Indirect Specular from the whole. Note that clamping is needed to get rid of the minus values from other lights' specular passes. This way you'll save at least 15 separate light select passes.
              Aleksandar Hadzhiev | chaos.com
              Chaos Support Representative | contact us

              Comment


              • #8
                ok
                thanks Aleksandar

                Comment


                • #9
                  Hi Hermit and Support Team,

                  I hope you're doing well. I have a quick question regarding light select limitations.

                  At our studio, we typically break each light or group of lights into the following 4 elements:
                  • Direct Diffuse
                  • Indirect Diffuse
                  • Direct Specular
                  • Indirect Specular (Reflection)

                  We are currently limited to 15 lights, resulting in a maximum of 60 light selects (15 Lights x 4 Light Selects). We've tested this with Karma and Arnold using up to 50 lights without encountering any such limitations.

                  Are there any plans at Chaos to increase the number of Light Selects available to us?

                  Comment


                  • #10
                    Originally posted by Tyros View Post
                    We've tested this with Karma and Arnold using up to 50 lights without encountering any such limitations.
                    Tested this myself and it works very well.

                    Originally posted by Tyros View Post
                    Are there any plans at Chaos to increase the number of Light Selects available to us?
                    We'll definitely consider increasing the limit.
                    Aleksandar Hadzhiev | chaos.com
                    Chaos Support Representative | contact us

                    Comment

                    Working...
                    X