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)
|
||||
groundTexture.wrapS = groundTexture.wrapT = THREE.RepeatWrapping
|
||||
groundTexture.repeat.set(50, 50)
|
||||
groundTexture.repeat.set(mazeLength/2, mazeWidth/2)
|
||||
const groundMaterial = new THREE.MeshPhongMaterial( {
|
||||
map : groundTexture,
|
||||
color : 0xFFFFFF,
|
||||
|
Loading…
x
Reference in New Issue
Block a user