Hi All!
UE4Arch’s Unreal Engine 4 Lighting Workflow
Connecting the offers options Ue4Arch + Koola + forum and doing experiments, I noticed the best quality result has the next configuration:
preset “Medium“:
NumHemisphereSamples = 256 * NumHemisphereSamplesScale = 4 * Indirect Lighting Quality = 10
2564 10 = 10240 (NumHemisphereSamples)
2564 8 = 8192 (NumHemisphereSamples)
NumHemisphereSamples = 512 * NumHemisphereSamplesScale = 4 * Indirect Lighting Quality = 10
5124 10 = 20480 (NumHemisphereSamples)
preset “Production“ (use it)
NumHemisphereSamples = 16 * NumHemisphereSamplesScale = 32 * Indirect Lighting Quality = 8
1632 8 = 4096 (NumHemisphereSamples)
1632 10 = 5120 (NumHemisphereSamples)
1664 8 = 8192 (NumHemisphereSamples)
1664 10 = 10240 (NumHemisphereSamples)
16128 8 =16384 (NumHemisphereSamples)
16128 10 = 20480 (NumHemisphereSamples)
You can change any multiplier, depending on the quality of the result.
BaseLightmass.ini:
[DevOptions.ImportanceTracing]
NumHemisphereSamples = 16 (default)
[DevOptions.PhotonMapping]
NumIrradianceCalculationPhotons = 4096 (Fixed)
DirectPhotonDensity = 1024 (experimental) It gives a more dense and detailed shadows in angles
DirectIrradiancePhotonDensity = 1024 (experimental) It gives a more dense and detailed shadows in angles
IndirectPhotonDensity = 24000 (12000)
IndirectIrradiancePhotonDensity = 8000
IndirectPhotonSearchDistance = 180 (180 - 240)
Production Quality:
[DevOptions.StaticLightingProductionQuality]
NumHemisphereSamplesScale = 64 (different for scenes)
Production Quality:
Static Lighting Level Scale = 0.1(0.15 little different, saves time)
Num Indirect Lighting Bounces = 100(max)
Indirect Lighting Quality = 8(10)
Indirect Lighting Smoothness = 1.0
For final build use “Production“ preset. It is important! “Production“ gives detailed soft shadows.
“Medium“ gives low quality checkered shadows.
Scene illuminated softbox together with “Directional Llight” and does not contain “Sky Light” because “Sky Light” has only one bounce light.
[Lighting = 2:40:55 hours]
L.Maps 512
CPU: 4930K
RAM: 32GB
Great experiment. What do you think about lightmass portals? Lots of users think that there is no need to change .ini files after portals. I can’t have free time to compare them exactly.