"clampAnimMap" is not supported in the q3 shader loop. There is instead "animClampMap" .. a word that Google only sees in 1 web page in the world (DarkPlaces github). Changing "animClampMap" to "clampAnimMap" won't totally fix it, "clampAnimMap" must also set layer->clampmap = true;