Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

ofPath: stroke width not respected

$
0
0

glLineWidth is deprecated in opengl 3+ and doesn't work with most drivers. in order to get thick lines you need to create a stripe yourself in a mesh or use a geometry shader to do it in the GPU.

we have plans to include something like this in future versions but right now you have to do it manually.


Viewing all articles
Browse latest Browse all 40524

Trending Articles