fixed image not power of 2
This commit is contained in:
parent
d2ea2dc4e0
commit
edc2937d1a
Binary file not shown.
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 65 KiB |
BIN
src/games/scrum/res/xd-view/meshes/scrumfield8x12-3d.jpg
Normal file
BIN
src/games/scrum/res/xd-view/meshes/scrumfield8x12-3d.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 562 KiB |
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue