removed unnecessary texture ID caching