The trick with mushrooms is understanding exactly why they like growing in the shade, away from the sun.
Fungi are people too. They don't need vitamin D constantly like plants do, but instead they need water food and shelter. They get their water from rain dripping down trees, down house rooftops, morning dew from grass, residual moisture underneath dead leaves, and water in the ground. They get their food from decaying plant and animal life, and fertile soil/woodchips/dead leaves or trees is prime growth for them. They get shelter which prevents them from losing moisture - for example, they can't grow in sand, not because of the sunlight, but because it dries out from the sunlight. Sunlight on its own doesn't kill them, but drying them out does.
They don't fruit when there's no rain or wind, which is why they grow after storms. Hence, covering them up too much actually stops them from fruiting even though the mycelium will continue to grow if there's nothing killing it. Mushrooms specifically exist to reproduce, so they don't show up unless they have a chance to reproduce - wind carries spores and water nourishes the spores. It's like how you can't get a boner unless there's some pussy or hole presenting itself to you. Unless you're a girl and then you can't really get wet unless you think something's gonna penetrate you. It's the same with shrooms.