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

Switch to opaque Background type #46

Closed ianmackenzie closed 4 years ago

ianmackenzie commented 4 years ago

Allows for future API additions such as using ambient/environmental lighting as background, or a separate skybox texture

ianmackenzie commented 4 years ago

Would need to be Background coordinates, not just Background, since things like texture-based backgrounds will need have their orientation specified in scene coordinates.