
It’s the most tricky part for me.
Because in my scene, the character have different looking with the shadow in the mirror and also has interaction with it, which breaks the physic rule. I need to make sure UE5 can make these 2 effects:
- ghost effect: only cast shadows in the mirror but the main character are not visible.
- vampire effect: only see the main character but it doesn’t cast shadows.
If I have two duplicated main characters with these two effect individually, I am able to control the main character and ghost separately.
I research for lot of methods but they didn’t work, but finally I found this asset which saved my life!
By using lumen and hardware raytracing,
If I want to achieve ghost effect, I need to change this on my detail panel:
click off for visible

Click affect indirect lighting

If I want to achieve vampire effect, I need to change this on my detail panel:

click off
And finally, do this in post process volume, So that I get the effect.
