diff --git a/frontend/src/components/Profile/content/DisplaySkin.js b/frontend/src/components/Profile/content/DisplaySkin.js index 141dae0e..eb039661 100644 --- a/frontend/src/components/Profile/content/DisplaySkin.js +++ b/frontend/src/components/Profile/content/DisplaySkin.js @@ -16,7 +16,7 @@ const DisplaySkin = ({ currentSkin }) => { const paddleTexture = textureLoader.load(`/images/skins/${skin}`, texture => { texture.wrapS = THREE.ClampToEdgeWrapping; texture.wrapT = THREE.ClampToEdgeWrapping; - texture.flipY = true; + texture.flipY = false; texture.offset.set(0.5, 0.5); texture.repeat.set(0.1, 0.1); texture.needsUpdate = true; diff --git a/frontend/src/scripts/gameShapes.js b/frontend/src/scripts/gameShapes.js index db70d8fc..2cd7d605 100644 --- a/frontend/src/scripts/gameShapes.js +++ b/frontend/src/scripts/gameShapes.js @@ -26,7 +26,7 @@ export const setPaddleAttributes = (terrain, textureUrl = null) => { const paddleTexture = textureLoader.load(`/images/skins/${textureUrl}`, texture => { texture.wrapS = THREE.ClampToEdgeWrapping; texture.wrapT = THREE.ClampToEdgeWrapping; - texture.flipY = true; + texture.flipY = false; texture.offset.set(0.5, 0.5); texture.repeat.set(0.4, 0.4); texture.rotation = Math.PI / 2;