Reputation: 24707
I would like to draw lines from one vertex buffer with changing width. Is it possible or i can change width only using glLineWidth
?
Upvotes: 0
Views: 207
Reputation: 5335
The only way to do this is using a geometry shader. See here
https://forum.libcinder.org/topic/smooth-thick-lines-using-geometry-shader
And these
https://www.opengl.org/discussion_boards/showthread.php/179732-Line-thickness
Upvotes: 1