geometry shader line draw function:
// make thick line
// from : transformed point (by modelviewprojectionmatrix)
// to : trasformed point
// colorfrom : first point color
// colorto : second...
Type: Posts; User: phdr_hroch
geometry shader line draw function:
// make thick line
// from : transformed point (by modelviewprojectionmatrix)
// to : trasformed point
// colorfrom : first point color
// colorto : second...
876
in 45 degrees rotation the line (created by two triangles) is 2px wide instead of 1px
Hi,
I have geometry (or fallback vertex only) shader, that generates lines with custom width and pass float uniform into shader.
For lines that are more than 1px thick, it works great. But if I...
I can construct buffer anyway I want to.
Thanks for answers
array od size 30k+ and not bigger than 500 000.
hi in my app, I've got many points. If I want to speedup rendering, the fastest way seems combining them together into one VBO (one vertex array for multiple points) and then draw them with one call....