LM|FIX: correct tex coords generate algorithm