ground scale

This commit is contained in:
Adrien MALINGREY 2023-06-09 00:03:06 +02:00
parent 0ccd895b90
commit 9806382955

View File

@ -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,