add partial texture tile support, but has mapping bug to be fixed.