add hinf if there are no valid textures in the specified directory, fix #10