How to replicate the shadow from minecraft bedrock. Shader for darkening meshes overlapping with the shadow mesh

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DearFox

I want to implement similar shadows for characters. This is something like an inverted invisible cone that darkens any mesh where they intersect.

Here is an example:
enter image description here
enter image description here