added shadow map z offset