Compare commits

...

2 Commits

Author SHA1 Message Date
nicomacbookpro
55992889a1 Merge branch 'main' of https://nicowebgl.cn/macmini/gitea/nicolas/kdemo 2025-09-02 09:44:04 +08:00
nicomacbookpro
fbf336c915 水颜色 2025-09-02 09:43:32 +08:00

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, // 设置透明度
} }