ianmackenzie / elm-3d-scene

A high-level 3D rendering engine for Elm, with support for lighting, shadows, and realistic materials.
https://package.elm-lang.org/packages/ianmackenzie/elm-3d-scene/latest/
Mozilla Public License 2.0
207 stars 27 forks source link

Improve line rendering #32

Open ianmackenzie opened 4 years ago

ianmackenzie commented 4 years ago

Native WebGL line rendering is basically terrible - can't reliably do anything other than 1 pixel wide lines and even that doesn't always seem to work. It would be better to try to implement a triangle-based solution of some sort. Possibly useful resources: