Updated texture loader to support alternative renderer