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
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
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?
What is the difference between Camera and CineCamera?
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 |