Author Topic: Downside to Adjusting HDRI+Sun Intensity With LightMix?  (Read 2873 times)

2018-06-07, 21:44:42

vicmds

  • Active Users
  • **
  • Posts: 56
    • View Profile
I've been reliant on LightMix to adjust HDRI intensity, especially with exteriors, and it somehow feels like bad practice. Am I losing dynamic range somehow?

Are there any downsides to relying on it too much to light the scene?

Thought I'd ask, since I'm admittedly not as knowledgeable as most of the folks here when it comes to what's going on under the hood.

2018-06-07, 23:22:49
Reply #1

Njen

  • Active Users
  • **
  • Posts: 557
    • View Profile
    • Cyan Eyed
A HDRI with theoretically unlimited range where even the pixels that represent the sun are of the appropriate value is actually the perfect world scenario to light a scene, as technically nothing is being 'faked'. The closest process that can produce this reliably is to make a digital HDRI in a program like Terragen, and save the resulting image as a 32 bit exr. It has to be 32 bit, or else the super bright pixels will most likely render as 'NaN's (not a number), and will incorrectly light your scene.

A photographic HDRI will never be able to properly capture the proper range of the sun, no matter how many exposures you take, as the physical limitations of the shutter speed and the aperture size of 99% of all cameras can not reduce the amount of light hitting the sensor enough to cause the sun to be captured with a value lower that 1. To fix this, you can go into a program like Nuke, and roto in the correct values of the sun onto a photographic HDRI. The brightness of the sun on a perfect blue sky day near the equator is roughly 100,000 times the brightness of the sky. So, basically, to accurately reproduce the sun, find out the average luminescence of a clear patch of sky, multiply that by 100,000, and you will have something close to a sun. If there is some cloud cover, you will have to estimate the percentage that the sun will need to be reduced by.

If the HDRI that you are using has not clipped any values (every light source is accurately represented), then exposing down an image will result in a predictable way. But if any values are clipped, then exposing down will break the linear relationship that the light has with the scene, and will result in incorrect lighting.

2018-06-07, 23:25:41
Reply #2

Njen

  • Active Users
  • **
  • Posts: 557
    • View Profile
    • Cyan Eyed
By the way, on a number of films I have worked on, I have lit entire scenes with digital HDRI's produced in Terragen.

2018-06-08, 16:53:51
Reply #3

vicmds

  • Active Users
  • **
  • Posts: 56
    • View Profile
Thank you for replying!

But I meant in terms of what LightMix does to the HDRI. Since there's this:

Significantly increasing the intensity of a light source in the LightMix will introduce noise

I wondered if it's good practice to adjust the HDRI intensity exclusively through LightMix (using it not only for testing lighting, but for a final render), as long as it's not an excessive difference in values.

2018-06-08, 22:42:37
Reply #4

Njen

  • Active Users
  • **
  • Posts: 557
    • View Profile
    • Cyan Eyed
Increasing the exposure in the lightMix, is a pure multiplicative process, any difference in pixel values that each lightSelect has will retain the same ratio if exposed up. But in simple terms, if the result looks good, then it is good.

2018-06-12, 02:37:11
Reply #5

vicmds

  • Active Users
  • **
  • Posts: 56
    • View Profile
if the result looks good, then it is good.

Yes! I might be overthinking the matter, as usual

Thank you!