loading texture with hashmap