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
205 stars 27 forks source link

Add support for texture-based backgrounds #53

Open ianmackenzie opened 4 years ago

ianmackenzie commented 4 years ago

Start with support for equirectangular panoramas, something like

Scene3d.texturedBackground
    { groundPlane : SketchPlane3d Meters coordinates
    , equirectangularPanorama : Material.Unlit
    }
    -> Background coordinates

Depends on #46.

ianmackenzie commented 4 years ago

Nice source for equirectangular images: https://hdrihaven.com/hdris/