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())
Unable to render embedded object: File (image-2022-08-15-14-52-53-921.png) not found.
5. Set sphere to use single sample shadow from stationary lighting
Unable to render embedded object: File (image-2022-08-15-14-56-48-245.png) not found.
6. build lighting
Observe (prior to fix) that the sphere does not appear to be shadowed. And after, it works as expected.
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 - Rendering - Features - Shadows |
|---|---|
| Affects Versions | 5.0, 5.1 |
| Target Fix | 5.1 |
| Created | Jul 21, 2022 |
|---|---|
| Resolved | Aug 15, 2022 |
| Updated | Jun 30, 2023 |