glint technique implemented but not at all perfect