RTS How to make your unit selection markers conform to irregular terrain?

as if it was a decal or a projection
on the terrain itself

I’ll bite; is there a reason why you aren’t using a decal for this?

Image from Gyazo