Modify ShadowMaterial to make shadows darker?

How can we derive a shader from ShadowMaterial to make shadows darker? Is it possible?