The flag is not propagated in FPrimitiveSceneShaderData::FPrimitiveSceneShaderData and so is missing in GPU-Scene primitive data. Need to add:
.UseSingleSampleShadowFromStationaryLights(Proxy->UseSingleSampleShadowFromStationaryLights()) .UseSingleSampleShadowFromStationaryLights(Proxy->UseSingleSampleShadowFromStationaryLights())
[Image Removed]
5. Set sphere to use single sample shadow from stationary lighting
[Image Removed]
6. build lighting
Observe (prior to fix) that the sphere does not appear to be shadowed. And after, it works as expected.
How does TextureRenderTarget2D get TArray<uint8> type data?
its not replicating any thing ,why ?
How do I set a material as a post-processing material?
How does TArray loop correctly remove elements in blueprints?
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
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-160108 in the post.
0 |
Component | UE - Graphics Features - Shadows |
---|---|
Affects Versions | 5.0, 5.1 |
Target Fix | 5.1 |
Created | Jul 21, 2022 |
---|---|
Resolved | Aug 15, 2022 |
Updated | Jun 30, 2023 |