Lumen Raytraced Reflections and invisible actors

I’m trying to work out whether this kind of feature is possible with lumen. Basic idea: the npc is only visible in the reflections of mirrors. In standard ray tracing this works well, but once I use lumen, the npc disappears as soon as it enters screen space (see video). Anybody has any experience in this way of using lumen?
[


]
I have raytracing enabled, for reflections and Lights I use lumen and the invisible actor is set to invisible and is affecting indirect lighting when hidden.

Screen traced reflections must be disabled.
In the character’s material, use the node “raytracing quality switch” to set the opacity mask as 0 in the main pass and 1 in raytracing.

I am not sure if this will solve any issues, but try to change the Near Clip Plane.

Open menu Edit → Project Settings → General Settings, there is a Near Clip Plane that you can change.

thank you both a lot for help, great material solution, seems more versatile, but unfortunately neither of those do the trick.
What I’ve further found out is that it only happens because for the first bounce of the mirror if possible Lumen uses screen space (as soon as there’s a second bounce, lumen uses raytracing). So I just need to force disable it inside of lumen somehow (all the settings in post processing don’t do the trick unfortunatelly)

Hence why I said:

There is a cvar. Something like r.Lumen.Reflections.ScreenTraces 0

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.