I’ve read these documents, but I didn’t find the solution is related to shader. To be more specific, I need to appoint different width for multiple lines and merge them as one to improve the performance. I guess ShaderMaterial can help me on it. Line2 did have effective lineWidth, but I don’t know how to merge them together as one.
Blazar
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Line width in custom shader | 0 | 1214 | February 21, 2022 | |
| Variable line width for THREE.LineSegments | 3 | 6835 | December 28, 2021 | |
| Change Line width LineBasicMaterial | 3 | 3335 | July 4, 2022 | |
| Why can't line materials now have a width greater than 1 ? | 2 | 978 | November 24, 2021 | |
| Keeping LineBasicMaterial in the same width regardless of camera position | 12 | 3833 | May 19, 2023 |