Shooting rules are very complex and often little understood even by armies with shooting units. This can be especially hard for VC players who don't have any shooting models.
All models (friendly or enemy) provide hard cover to models blocking more than 50% LoS of models shooting at them. This is true LoS, so a dragon is barely obscured by a unit of infantry, and infantry on a hill can see over most units. True LoS is annoying given that making fun custom bases makes units taller, either giving them an unfair height advantage, or making them easier to see over other units. For this reason you have to often negotiate with your opponent. Many tournaments adopt a mathematical LoS. True LoS is probably the most ignored rule in 8th.
Shooting is done per-model. this means that every individual model measures its own distance and LoS (though all models shooting from back ranks use the LoS of the front rank). Very often shooters measure like charging distance and then volley fire with a whole unit - this is not correct. LoS and Distance (Range) are two separate factors and the back ranks must measure their own distance.
Example #4 on page 41 of the rulebook explains a lot of it.
Here is an example:
..................DDDDDDDDDDDDD
...................BT
DwDwDwDwDw
...............VLBkBkBkBk
......................ZZZZZZZZZZ
In this example the bolt thrower (BT) can fire at any of the Direwolves (Dw) or Black Knights (Bk) without penalty if they are in its frontal arc. To fire at the Vampire Lord (VL) it would suffer -2 fro the Dw blocking them. (It would be more wise for a Bolt Thrower to shoot at the Dw at 6S, kill it, then automatically hit the VL behind it at 5S)
The Darkshards (D) would measure per unit. So if shooting the Dw, some models in the middle may have to shoot at -2 due to being blocked by their own BT. If they shoot at the Bk, a quarter of the models would have -1 due to the BT & DW. If they shoot at the zombies, about half could shoot at the Zombies (Z) without cover penalties, where the other half would suffer -2 due to units blocking LoS.
Cover doesn't stack, so -2 is the maximum. If you are shooting at a unit through a forest behind another unit and against a fence, the penalty for cover is -2. This does not include range & having moved - these are added. Special rules are also added, unless the rules says that it provides a cover bonus.
Another important part of playing against a shooting player is the charge reaction to shoot. Remember that a unit can only react to shoot once per turn. They have to follow the legal shooting rules, except you are considered to be in long range of their weapons no matter what. This most often means a -2 To Hit for them (long range + reaction penalty). Also, If you start the charge within your M distance, they cannot react to shoot.
Note that models w/ Quick to Fire weapons do not suffer -1 for reacting and can shoot even if you are within your M, but will always still suffer a -1 for range.