Hook far Z distance for rendering.
Update some constants.