The
viz.addEnvironmentMap command requires 6 textures. If you supply a filename that is a single texture you'll get an error. If you search for 'cubemap' and 'skybox' online you'll get an idea of what's required by this command. Also, the panorama demo in the Vizard help uses a cubemap. There maybe sites where you can download cubemaps that would work for your application.