Skip to content

gl-renderer: Improve wireframe rendering

Render wireframe within paint nodes instead of drawing lines in a second pass. The wireframe is blended over the node in a single draw call. This slightly simplifies the logic by removing the computation of a second set of indices and enables wireframe anti-aliasing using Celes and Abraham's "Fast and versatile texture-based wireframe rendering" paper from 2011.

Merge request reports

Loading