Line, Edge, and Outline Drawing

  • Drawing Lines is Hard

    Summarizes the problem of GPU line primitives and explores a few different techniques for 2D and 3D triangulated line rendering, and accompany each with a small canvas demo.

    • article
    • GLSL
  • Instanced Line Rendering Part I

    Builds on the foundation from "Drawing Lines is Hard" and uses instance rendering to draw lines

    • article
    • GLSL
    • JavaScript
  • Instanced Line Rendering Part II: Alpha blending

    Continues instanced line rendering, introducing alpha-blending for triangulated lines.

    • article
    • GLSL
    • JavaScript