# Material map on sphere geometry

**URL:** <https://discourse.threejs.org/t/material-map-on-sphere-geometry/38634>\
**Category:** Questions\
**Tags:** texture-mapping, spheregeometry, materials\
**Created:** [May 29, 2022, 9:04pm UTC](https://discourse.threejs.org/t/material-map-on-sphere-geometry/38634 "2022-05-29T21:04:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![IssamMerikhi](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/issammerikhi/32/25238_2.png) [@IssamMerikhi](https://discourse.threejs.org/u/IssamMerikhi)\
**Post date:** [May 29, 2022, 9:04pm UTC](https://discourse.threejs.org/t/material-map-on-sphere-geometry/38634/1 "2022-05-29T21:04:52Z")

</div>

Hello guys, I have some issues concerning my sphere material. I try to put a pokeball texture on a sphere but it doesnt render as I expected. I put 3 photos : my code, the texture and the render so you can better understand my problem. Thanks for help

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/2/b/2b0f06bbd3686725764a2ee09731d3e36170bb51.png)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/d/f/df7fa38458848741a9861b6c2ce420fc45c3955d.png)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/d/e/de9e3b94268791ce2c3bcd2532cf0d2ae4d755ce.jpeg)

---

<div class="post-metadata">

**Author:** ![makc3d](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/makc3d/32/10452_2.png) [@makc3d](https://discourse.threejs.org/u/makc3d)\
**Post date:** [May 29, 2022, 9:49pm UTC](https://discourse.threejs.org/t/material-map-on-sphere-geometry/38634/2 "2022-05-29T21:49:18Z")

</div>

Idk, [it works](https://jsfiddle.net/74dupz2m/) for me 🤷‍♀️

---

<div class="post-metadata">

**Author:** ![Chaser\_Code](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/chaser_code/32/20199_2.png) [@Chaser\_Code](https://discourse.threejs.org/u/Chaser_Code)\
**Post date:** [May 30, 2022, 5:35am UTC](https://discourse.threejs.org/t/material-map-on-sphere-geometry/38634/3 "2022-05-30T05:35:41Z")

</div>

Maybe you hav wrong UV or texture repeating settings or your texture need to be a square. I set your texture here  
[https://threejs.org/examples/physics\_ammo\_volume.html](https://threejs.org/examples/physics_ammo_volume.html)  
Texture 256x256:  
 ![bbb](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/e/0/e0c94353caa9ff8a63366f63fb4cbeeb2ca3415c.png)  
Result:  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/e/4/e4a1e5cae5008b577e6b1f263c78232c1ace12ba.png)

---

<div class="post-metadata">

**Author:** ![IssamMerikhi](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/issammerikhi/32/25238_2.png) [@IssamMerikhi](https://discourse.threejs.org/u/IssamMerikhi)\
**Post date:** [May 30, 2022, 1:37pm UTC](https://discourse.threejs.org/t/material-map-on-sphere-geometry/38634/4 "2022-05-30T13:37:11Z")

</div>

thanks for the response, I found some code that modify my texture, I commented it and back on track

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/7/f/7f33c0ee792cca679996990e6f2ee57f98375468.png)

---

<div class="post-metadata">

**Author:** ![IssamMerikhi](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/issammerikhi/32/25238_2.png) [@IssamMerikhi](https://discourse.threejs.org/u/IssamMerikhi)\
**Post date:** [May 30, 2022, 1:38pm UTC](https://discourse.threejs.org/t/material-map-on-sphere-geometry/38634/5 "2022-05-30T13:38:23Z")

</div>

thanks for your help, I took your image and comment some code that modifies my texture

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/7/f/7f33c0ee792cca679996990e6f2ee57f98375468.png)  
and now it works 🙂
