Sigh, use the float uniform not the integer uniform.