资源本地化

This commit is contained in:
2026-03-25 18:14:50 +08:00
parent 862f71e654
commit f8d3192deb
2 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 KiB

View File

@@ -126,7 +126,7 @@ export class OceanScene {
const waterNormals = await new Promise((resolve) => {
new THREE.TextureLoader().load(
'https://threejs.org/examples/textures/waternormals.jpg',
'/textures/waternormals.jpg',
(texture) => {
texture.wrapS = texture.wrapT = THREE.RepeatWrapping;
resolve(texture);