错误: WebGL:INVALID_VALUE:texImage2D:width!=多维数据集地图的高度
这是我的代码的一部分:
var path = "/Content/wallerpaper/";
var format = '.jpg';
var urls = [
path + '1' + format, path + '2' + format,
path + '3' + format, path + '4' + format,
path + '5' + format, path + '6' + format
];
var textureCube = THREE.ImageUtils.loadTextureCube(urls, THREE.CubeRefractionMapping);
textureCube.minFilter = THREE.NearestFilter;
var material = new THREE.MeshBasicMaterial( { color: 0xffffff, envMap: textureCube, refractionRatio: 0.95 } );
如何解决没有更改我的图片尺寸?