Line Width in LineBasicMaterial
See original GitHub issueDescription of the problem
So I have tried to adjust the linewidth
in the LineBasicMaterial
but it only renders out as 1 pixel instead of 5 (which is where I am trying to adjust). I have tried to preview this in Chrome, Firefox, and Safari but to no success. Any idea on why this isn’t working. I read the docs and followed the way its used.
Three.js version
- Dev
- r95
- …
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
OS
- All of them
- Windows
- macOS
- Linux
- Android
- iOS
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
LineBasicMaterial#linewidth – three.js docs
Controls line thickness. Default is 1 . Due to limitations of the OpenGL Core Profile with the WebGL renderer on most platforms linewidth...
Read more >Thickness of lines using THREE.LineBasicMaterial
It works just fine, but when i change the value of "linewidth" to a bigger OR smaller value, i see NO difference in...
Read more >How do i change line width : r/threejs - Reddit
Hi, I'm using lineBasicMaterial to draw lines. but I can't update the line width. I tried to use meshline npm package but the...
Read more >Fat Lines in threejs by making use of additional files
This is a post on using some additional assets with threejs to make fat lines, or lines that have a thickness larger than...
Read more >Materials you can use for a line geometry | Learning Three.js
LineBasicMaterial : The basic material for a line allows you to set the colors , linewidth , linecap , and linejoin properties. THREE....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@joselevelsup keep trying! 💪
LineGeometry
is part of the examples not of the core. You have to include the files from:https://github.com/mrdoob/three.js/tree/master/examples/js/lines