Description

bCastHiddenShadow flag in UPrimitiveComponent doesn't affect ray tracing shadows

Steps to Reproduce

1. Create a new project and enable Ray Tracing
2. Create a empty level and add two meshes (A floor and a smaller cube on top of it)
3. Place a light near the meshes and make sure Cast Ray Tracing Shadows is enabled.
4. Select the eye next to the sphere in the world outlier to hide the object

Result - The hidden object is still casting a shadow
Expected - Hiding the object also removes the shadow

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-101073 in the post.

7
Login to Vote

Cannot Reproduce
ComponentUE - Graphics Features - Lumen
Affects Versions4.26
Target Fix4.27
CreatedOct 13, 2020
ResolvedJun 8, 2021
UpdatedApr 27, 2022