added setTarget to make sure shader is reset when doing 2d multipass
custom border w, h, size
center the camera on target
correctly handle out of shadowmap