Hi, I have a problem where my directional light does not pass through my glass panes while in Lit mode but when I turn on the Path Tracer mode the light comes through.
I am using a Sketchup model, that I imported into a Twinmotion model, which I then imported into UE5.
I know I can turn off the shadow casting for my Glass asset but unfortunately the Glass is in a “Group” with the door frame. Show when I do turn of the shadow the frame is also not casting a shadow. See snips attached.
Is there a way to get the Glass to allow the light through without going into my model and trying to separate the glass from the Frame? I am very new to UE5…
We see that this is your first time posting in our forums!
We welcome you to the Unreal Engine Community with open virtual arms!
Thank you so much for your contribution to this thread. It is members like you that keep our forums going strong!
I’d recommend keeping your glass mesh separate for this reason among others. But you can use the “shadow pass switch” node in your material to alter shadows. For example, you could use world position offset to nullify the glass verts during the shadow pass only.
I am facing the same issue with datasmith model imported from Revit.
Is there a more automated way to do it? What If I have alot of windows, its impossible to manually separate them unless there is a ‘separate by material’ function?
It probably works if its collapse by material. But Is there an Unreal function to colapse by material if I want the rest of the model to have it in original hierarchy?