水颜色

This commit is contained in:
nicomacbookpro
2025-09-02 09:43:32 +08:00
parent ae329daf2e
commit fbf336c915

View File

@@ -13,8 +13,8 @@ const ocean = new Water(
}), }),
sunDirection: new THREE.Vector3(0, 1, 0), // 设置太阳方向为垂直向下 sunDirection: new THREE.Vector3(0, 1, 0), // 设置太阳方向为垂直向下
sunColor: 0xffffff, sunColor: 0xffffff,
waterColor: 'rgb(15,187,194)', waterColor: 'rgb(0,211,255)',
distortionScale: 3.7, distortionScale: 1.7,
fog: false, // 关闭雾效果 fog: false, // 关闭雾效果
alpha: 1.0, // 设置透明度 alpha: 1.0, // 设置透明度
} }