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

Add overlay support #15

Open ianmackenzie opened 6 years ago

ianmackenzie commented 6 years ago
Scene3d.overlay : (Camera3d -> Drawing2d.Element msg) -> Option msg

used as

Scene3d.renderWith [ overlay ] lights camera scene

If multiple overlay options are provided, they can simply be combined into one drawing.