Translucent shadows with depth fade?

Any workarounds to have depth fade on particles and shadows at the same time? Dithered mask is not an option, it looks too bad.

Cloud from content examples with depth fade

Without depth fade it casts shadows, but intersection with floor is horrible

Modifications made to material that caused this

maybe a two part particle? with a smaller emitter in the middle for shadowing particles?

Try using #IF SHADOW_DEPTH_SHADER preprocessor in custom node, to get rid of depth fade in shadow pass.

It’s not defined for translucent materials.

True. Maybe something like SPHERICAL_OPACITY_FOR_SHADOW_DEPTHS instead ?

It works. Thanks a lot.