diff --git a/public/textures/waternormals.jpg b/public/textures/waternormals.jpg new file mode 100644 index 0000000..9dfe03c Binary files /dev/null and b/public/textures/waternormals.jpg differ diff --git a/src/OceanScene.js b/src/OceanScene.js index 8382aca..cf04540 100644 --- a/src/OceanScene.js +++ b/src/OceanScene.js @@ -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);