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

Support textures with and without premultiplied alpha #99

Open ianmackenzie opened 3 years ago

ianmackenzie commented 3 years ago

Will need to set different blend modes based on whether texture uses premultiplied alpha; see https://github.com/w0rm/elm-street-404/commit/ce7c84530c7f194c42518773f79716571f03c48e for an example