Light Importance

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
User avatar
Leandro Oliveira
Posts: 74
Joined: Thu Aug 27, 2020 6:05 pm
Location: Brazil
Contact:

Light Importance

Post by Leandro Oliveira »

Hi. This attribute is quite abstract to me. I have been watched some tutorials, which the author uses values like 5, 20, 50... I´ve understood that importance determines what light needs more computation power. But, in a scene with 3 lights sources, wouldn´t be easier to setup values like 1, 2 and 3? How can I know the correct value for each light source in a scene, and what exactly these numbers mean?

Thanks,
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Light Importance

Post by Sharlybg »

You can setup light easily if you do it one by one :

Let say i'm rendering a particular interior project with HDRi/mesh light for the ceiling/ floor lamp. So here i have 3 light sources.Each light don't contribute to the final image at the same level. Also a particular light could introduce a lot of noise. So my setup start this way :

Turn ON each light individually to see wich one bring more light and wich one introduce more noise.Let say the HDRi is fine and bring enough light and the noise is easy to clean for the engine. But the floor lamp don't contribute that much to the lighting but give a lot of unresolved noise. In this case i just reduce the importance value of the Floor lamp compared to the HDRi and spot light.

More contribution to the lighting == Higher importance (more computation to this light)
Low contribution high noise == Lower importance ( less computation power for the light)
More contribution high noise == Higher importance (more computation to this light)
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
CodeHD
Donor
Donor
Posts: 437
Joined: Tue Dec 11, 2018 12:38 pm
Location: Germany

Re: Light Importance

Post by CodeHD »

Leandro Oliveira wrote: Wed Sep 16, 2020 12:51 am But, in a scene with 3 lights sources, wouldn´t be easier to setup values like 1, 2 and 3?
The light importance is not just a discrete sorting as with volume priorities. It basically tells you how often the respective light source is picked in the step where light sources are sampled. So if you set values of 1, 1 and 999999999, you effectively remove the first two light sources
User avatar
Leandro Oliveira
Posts: 74
Joined: Thu Aug 27, 2020 6:05 pm
Location: Brazil
Contact:

Re: Light Importance

Post by Leandro Oliveira »

Thank you Sharly and CodeHD!

Sharly, great explanation! It opened my eyes! Thanks a lot!
Post Reply