PDA

View Full Version : One vertex buffer with varying with



esapir
03-14-2014, 11:00 AM
I would like to draw lines from one vertex buffer but with changing width. Is it possible?

Cornix
03-14-2014, 11:05 AM
Just draw quads (2 triangles) instead of lines and you can have any width you like.
As far as I know arbitrary line-width is not supported any more.

esapir
03-14-2014, 11:39 AM
Thanks, i will try that