Only point lights affect indirect lighting on RTGI much less than other types of lights.
[Link Removed]
Indirect lighting of baked lightmaps look much stronger than RTGI.
[Link Removed]
Apparently, it's because only point lights are divided by 4*PI in SetupLightParameters of Engine\Source\Runtime\Renderer\Private\RayTracing\RayTracingGlobalIllumination.cpp
case LightType_Point: default: { LightParameters->Type[LightParameters->Count] = 1; LightParameters->Position[LightParameters->Count] = LightShaderParameters.Position; // #dxr_todo: UE-72556 define these differences from Lit.. LightParameters->Color[LightParameters->Count] = LightShaderParameters.Color / (4.0 * PI); float SourceRadius = 0.0; // LightShaderParameters.SourceRadius causes too much noise for little pay off at this time LightParameters->Dimensions[LightParameters->Count] = FVector(0.0, 0.0, SourceRadius); LightParameters->Attenuation[LightParameters->Count] = 1.0 / LightShaderParameters.InvRadius; break; }
I removed the 4*PI then it fixed this issue and indirect lighting from a point light on RTGI looks more similar to baked lighting. (Shelved CL: 14023328 on 4.25plus)
[Link Removed]
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How to delete some elements correctly when deleting an array loop?
UMG RichText not appear image when packaged
What is the difference between Camera and CineCamera?
What controls of umg have mouse wheel events in UE4.27?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-96362 in the post.
2 |
Component | UE - Graphics Features - Lumen |
---|---|
Affects Versions | 4.25, 4.25plus |
Target Fix | 4.26 |
Created | Aug 4, 2020 |
---|---|
Resolved | Oct 13, 2020 |
Updated | Sep 19, 2021 |