Shadow volume is essentially the same as your terrain height map. Except where you want shadows to appear, it will be higher than the terrain. You need to think of it as creating a volume of space which is casting a shadow on anything inside it.
Hope that helps.
Hope that helps.