Wiring in shadow extraction

WIP: @markhibberd 



:shell: