fixed image not power of 2

This commit is contained in:
mig 2017-04-28 16:51:33 +02:00
parent d2ea2dc4e0
commit edc2937d1a
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 KiB

View file

@ -625,7 +625,7 @@
var gg=new THREE.CubeGeometry(8,0.08,13);
var $this = this;
var loader = new THREE.TextureLoader();
loader.load(fullPath+"/res/xd-view/meshes/scrumfield8x12.jpg",
loader.load(fullPath+"/res/xd-view/meshes/scrumfield8x12-3d.jpg",
function(diffuseMap) {
diffuseMap.wrapS = diffuseMap.wrapT = THREE.RepeatWrapping;
diffuseMap.format = THREE.RGBFormat;