less water

This commit is contained in:
Adrien MALINGREY 2023-06-04 00:45:39 +02:00
parent 0d47b5bbef
commit 3e548a863d

View File

@ -107,7 +107,7 @@ container.appendChild( renderer.domElement );
// Water
waterTexture.wrapS = waterTexture.wrapT = THREE.RepeatWrapping;
const ocean = new Water(
new THREE.PlaneGeometry( 10000, 10000 ),
new THREE.PlaneGeometry( 1000, 1000 ),
{
textureWidth : 512,
textureHeight : 512,