Can a Decal Show only on the First Actor Hit?

I would like to have actors block a decal so that no actors behind them receive the decal.

The only solution I have come up with is to shoot a trace into the scene and feed the distance information into the decal material with material parameter collection. However, we’ve got a lot of objects in our scene with collision turned off so the trace won’t hit them. Turning collision on for everything would slow down performance too much.