4.19 Physical Lights

For future reference, we spent a few hours digging and found out where the 1.2 value is coming from: It is actually normative as per ISO12232:2006, i.e. an ISO Standard derived value, referenced in Wikipedia, in Moving Frostbite to Physically Based Rendering 3.0 (and confirmed by that bit of maths in Unity code):


 

  1. // Compute the maximum luminance possible with H_sbs sensitivity
  1. // maxLum = 78 / ( S * q ) * N^2 / t
  1. // = 78 / ( S * q ) * 2^ EV_100
  1. // = 78 / (100 * 0.65) * 2^ EV_100
  1. // = 1.2 * 2^ EV
  1. // Reference: http://en.wikipedia.org/wiki/Film_speed

 

Cheers,

Thomas

Hello everyone. I have been following this thread for a while, and I have been trying to figure out physically based lighting in UE4. I have come up with a tool set and workflow, that so far works for me. Check out this tutorial I made, tools are in the description.

Sorry to bring back this thread from the dead, although I have to say, it was really interesting from the first page.
The thing is, I’m finding a large discrepancy between what I get in Unreal and what I’d expect, but I’m not an expert on the field so I want to be sure that I’m not the one doing something wrong.
I’m working on an archviz scene and I’m testing physical light values, but while I’m getting a good looking result with sun and sky lights, artificial lights seem off.

I’ve got a completely dark scene, except for a point light at 800 lm, at 1mt from both walls and 1.80mt from the floor. The camera settings in the PPV are 1/60 for the shutter speed, 100 ISO, 2.0 f-stop, so around EV 8. As you can see by the screenshot the room appears very dark and the light is barely visible. I can’t understand if this result is correct or not, but from the tests I made with my phone’s camera with exposure settings set to manual, it’s very dark compared to real life. The second screen shows the base color, and you can see my textures are not too dark. Can anyone help me understand if there’s still something wrong with Unreal, or if this behaviour is expected? To me it looks like the issue that had with 4.19, when a good eye-balled value was around 10x the expected lumens value.
Also, I’ve disabled every PP effect that might add shadows/influence lighting.


So Epic has just documented that whole thing properly which is great: How Epic Games is handling auto exposure in 4.25 - Unreal Engine

Thanks!

Hi,

sorry for necromancing this thread but I still fail to understand the new physical lighting workflow. Let’s say I set up lighting in my scene according to real photometric values, so that during sunny day noon, the sun intensity is around 111 000 lux and indirect sky intensity around 20 000 lux. If I use real world camera settings, such as f/16, ISO 200 and 1/125 shutter, I get more or less what I’d expect.

BUT!

look development of emissive materials becomes borderline impossible. Even if I set preview scene settings in the material editor to match the exposure range, thumbnails of the emissive materials with emissive values large enough to be visible under EV100 daylight setup are pitch white in the content browser:
emissive.png

It seems that the physical lighting scale was somehow hacked into the engine, but when I try to actually use it, I encounter quite a few engine areas which just aren’t built to handle that… :frowning:

I had the same concern and experienced the same issue. I had an interior scene that I re-worked with light values and settings based on this thread. All good until I noticed there are fx elements with emissive textures that are not compatible.

so,i m also encountering many issues regarding emissive / unlit shader und previewing the scene. i get that emissive materials are linked to the exposure of the scene, but “unlit” materials arent “unlit”, they are also somehow linkend. to solve that i d get the current ev100 value in the material and multiply by that, but thats not possible right now natively. would be great to get such node. else pbl by now break most of unreal s other features. basically all widgets are unreadable but even countering using arbitrary emissive multiplicators doesnt look right. also previewing is a nightmare. especially before baking the lights, everything is just off.

What other areas? The only issue I’ve ran into in recent versions is Convolution Bloom doesn’t work as expected at higher luminance ranges used by physical units.

It’s kind of hard to follow you. Unlit/emissive materials aren’t linked to exposure, but your exposure relative to the emissive intensity will determine whether or not it looks correct, or is even visible at all. And to echo what I asked Rawalanche, what are these other broken features, and widgets, you’re referring to?

I made an editor widget that acts as a calculator to convert luminance to a more intuitive unit for lighting, illuminance, while also getting the associated EV and the respective shutter speed/aperture. Here’s a Twitter thread to explain the reasoning as well as talk about the updated editor viewmode in 4.24 that measures luminance and illuminance. And here’s the Github link to download my updated shader for 4.24 and 4.25 with EV in the viewmode