EDIT: forget about the errors, the code is working perfectly, the #@!@# here forgot that he changed the texture...