Tracking position of an autonomous robot

aiming the guts of an optical mouse at the ground

How well does your optical mouse work if you lift it 1/4 inch off the table?