spite / THREE.MeshLine

Mesh replacement for THREE.Line
MIT License
2.14k stars 381 forks source link

how to set texture repeat in MeshLine #31

Closed Simon-wu closed 7 years ago

Simon-wu commented 7 years ago

I want draw a path use this, and fill it with a arrow texture . But i cannot set repeat model like >>>>>>>>>>>> layout。 can you tell me how to mapping like this, stretch is not i want

thanks thanks

spite commented 7 years ago

Just published a new version. The material has now a repeat uniform to set tiling. Hope it helps!

Simon-wu commented 7 years ago

@spite Can show me a demo? Thanks i don know how to set it

spite commented 7 years ago

Sure, the documentation on the Read.me and the spinner example has been updated to show how repeat works https://www.clicktorelease.com/code/THREE.MeshLine/demo/spinner.html