support both cubemap and spheremap for sky