# THREE.LineMaterial mapping texture that support linewidth

**URL:** <https://discourse.threejs.org/t/three-linematerial-mapping-texture-that-support-linewidth/9858>\
**Category:** Questions\
**Tags:** textures, lines\
**Created:** [September 25, 2019, 9:21am UTC](https://discourse.threejs.org/t/three-linematerial-mapping-texture-that-support-linewidth/9858 "2019-09-25T09:21:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeanSure](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/seansure/32/7372_2.png) [@SeanSure](https://discourse.threejs.org/u/SeanSure)\
**Post date:** [September 25, 2019, 9:21am UTC](https://discourse.threejs.org/t/three-linematerial-mapping-texture-that-support-linewidth/9858/1 "2019-09-25T09:21:49Z")

</div>

[https://threejs.org/examples/?q=line#webgl\_lines\_fat](https://threejs.org/examples/?q=line#webgl_lines_fat)

---

<div class="post-metadata">

**Author:** ![EliasHasle](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/eliashasle/32/3010_2.png) [@EliasHasle](https://discourse.threejs.org/u/EliasHasle)\
**Post date:** [September 25, 2019, 9:46am UTC](https://discourse.threejs.org/t/three-linematerial-mapping-texture-that-support-linewidth/9858/2 "2019-09-25T09:46:26Z")

</div>

What is the question? Would you like to do two-dimensional texture mapping on a line?

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [September 25, 2019, 9:48am UTC](https://discourse.threejs.org/t/three-linematerial-mapping-texture-that-support-linewidth/9858/3 "2019-09-25T09:48:43Z")

</div>

It seems the OP wants to apply a diffuse map to wide lines which is currently not supported.

---

<div class="post-metadata">

**Author:** ![SeanSure](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/seansure/32/7372_2.png) [@SeanSure](https://discourse.threejs.org/u/SeanSure)\
**Post date:** [September 25, 2019, 4:08pm UTC](https://discourse.threejs.org/t/three-linematerial-mapping-texture-that-support-linewidth/9858/4 "2019-09-25T16:08:22Z")

</div>

yes,like road track

---

<div class="post-metadata">

**Author:** ![EliasHasle](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/eliashasle/32/3010_2.png) [@EliasHasle](https://discourse.threejs.org/u/EliasHasle)\
**Post date:** [September 25, 2019, 10:10pm UTC](https://discourse.threejs.org/t/three-linematerial-mapping-texture-that-support-linewidth/9858/5 "2019-09-25T22:10:19Z")

</div>

You should check out other options than line, then. `ExtrudeBufferGeometry`, for instance. There are a bunch of other questions here regarding how to make racing tracks etc.
