ground scale
This commit is contained in:
parent
0ccd895b90
commit
9806382955
2
main.js
2
main.js
@ -188,7 +188,7 @@ const updateSunIntervalId = setInterval( updateSun, 100 );
|
|||||||
|
|
||||||
const groundGeometry = new THREE.PlaneGeometry(mazeLength, mazeWidth)
|
const groundGeometry = new THREE.PlaneGeometry(mazeLength, mazeWidth)
|
||||||
groundTexture.wrapS = groundTexture.wrapT = THREE.RepeatWrapping
|
groundTexture.wrapS = groundTexture.wrapT = THREE.RepeatWrapping
|
||||||
groundTexture.repeat.set(50, 50)
|
groundTexture.repeat.set(mazeLength/2, mazeWidth/2)
|
||||||
const groundMaterial = new THREE.MeshPhongMaterial( {
|
const groundMaterial = new THREE.MeshPhongMaterial( {
|
||||||
map : groundTexture,
|
map : groundTexture,
|
||||||
color : 0xFFFFFF,
|
color : 0xFFFFFF,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user