added shadow option and renderShadow-function