The "CastShadow" option on primitive component has a tooltip that says "This flag is ignored (no shadows will be generated) if all materials on this component have an Unlit shading model."
This isn't true though, what happens is it will adopt the behavior of what that setting was prior to adding the unlit material. The option will be grayed out however, the mesh will still cast a shadow.
The unlit material will also influence indirect lighting if it is currently casting shadows. It will stop if you remove the material uncheck "Cast Shadows" then reapply and bake lighting.
RESULT
The mesh will cast a shadow
EXPECTED
The mesh will no longer cast a shadow.
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
UMG RichText not appear image when packaged
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-42995 in the post.
3 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.14.3, 4.15, 4.19 |
Created | Mar 16, 2017 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |