FDeferredDecalProxy always fade because InitializeFadingParameters is always called and leaves InvFadeDuration at 1.0 and the LifetimeAlpha calculation in FDeferredDecalPS::SetParameters gets a very large negative number for the portion using InvFadeDuration, and the LifetimeAlpha resolves to 0, resulting in an invisible decal.
In order to have FDeferredDecalProxies that don't fade out, you must constantly update the decal proxy with the latest world time or it will start to fade out.
Expected
All decals are visually the same opacity
Actual
Decals on one half - the ones without the hack - fade over time
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-215255 in the post.
0 |
Component | UE - Rendering Architecture |
---|---|
Affects Versions | 5.4 |
Target Fix | 5.5 |
Fix Commit | 36062883 |
---|
Created | May 16, 2024 |
---|---|
Resolved | Sep 5, 2024 |
Updated | Sep 19, 2024 |