Translucent niagara particles cannot cast shadows with VSM enabled

Hi, this may be by design, or a current limitation, or maybe I’m doing something wrong.

In Unreal 5.3.1, my translucent particles can only cast shadows if I switch my project to use traditional shadow maps. If virtual shadow maps are enabled, translucent particles cannot cast shadows. This seems like an odd limitation - the material in question interacts with virtual shadow maps just fine if I apply it to a plane, but a niagara system (which is just emitting a bunch of planes) can’t do it?

Is this a bug I should report?

1 Like

Upon further examination, it seemed to be ONLY the directional light in my scene that was failing to produce shadows.

I can work around this by raising the “DynamicShadowDistanceStationaryLight” value above the default of zero, it forces particle shadows to eventually appear, though it does increase the sharpness of the rest of my objects shadows by changing what cascade I’m seeing.

If I disable cascaded shadows on my directional light entirely, I get no niagara shadows. I’m not entirely sure what’s going on - seems like cascade zero for virtual shadow maps just isn’t working on my particles.

1 Like

Maybe try setting the shadows to cast as masked materials in the material details panel, and then use dithered masked opacity for the shadow pass using the shadow pass switch.

1 Like

First thing I would double check, is that your particles are set to cast shadows in the emitter.

Second, on the directional light, make sure that Cast Translucent Shadows is checked.

Third thing to check (In the Particle Material) is the translucent blending mode you’ve chosen. I would set it to volumetric directional or something along those lines to test with initially.

Fourth thing to check (In the Particle Material) is the settings in the Translucency Self Shadowing section. Reset any settings there to the default if any are changed for testing.

1 Like

Also, attempt all this in a fresh scene with a brand new directional light and a newly placed particle system to help eliminate any rouge settings.

1 Like

I did everything in your list.
Translucent particle shadows appear to be broken in 5.3

1 Like

I can go one better here, I am currently unable to get even masked niagara particles to cast shadows with VSM enabled.

Can’t locate the link now but a colleague told me they’d searched online for a solution and there was someone from Epic saying something like, “this will never work for VSM and we have no plans to address it”.

Apparently it was quite an old link, so I thought I’d post something here in an effort to find out what’s going on.

There was a suggestion on a forum to also spawn mesh particles that are shadow only.

Is this the best way forward to get masked particles to cast shadows again?

2 Likes

Same here in UE5.4.2, and it only happens in SM6 + VSM. SM5 or Opengl works fine, need a solution.

2 Likes

Same issue in 5.5, any solution yet ? thanks