Alternatively use stencil shadows or even better, use a shadow map by placing an invisible tree-shaped block at that position.