Unreal 5 Material Runtime Opacity problem with Shadows

BlackFlicka
Mon, 13 Nov 2023 22:45:21 +0000
Rendering

Hello !

So I made a simple test level where I just change the opacity of some object material with a press of a button. But when the object disappears, its shadow stays on the level until I turn the camera around. When I turn the camera the shadows get cleaned up.
I tried the same test on Unreal 4 and it seems to work fine, the shadows disappear immediately along with the object when I change its opacity.

What can I do to force the shadows to disappear along with the object ?

5 posts - 3 participants