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

Material is not exposing NormalMap #97

Open PixelPartner opened 3 years ago

PixelPartner commented 3 years ago

Material is not exposing NormalMap

The example TexturedSphere.elm does not compile, because of the module Scene3d.Material not exposing NormalMap

PixelPartner commented 3 years ago

Seems, like the master branch does expose all needed functions. But the Package download and Doc of 1.0.1 do not.

ianmackenzie commented 3 years ago

Yes, still finishing up support for normal maps - although it's annoying that that means that people who look at the examples right now will see code that doesn't work with the released version. Might have to put some more thought into that, e.g. link to examples in the latest release tag instead of master, or just do all real development in a branch...both can get a bit messy though.

ianmackenzie commented 3 years ago

Using https://package.elm-lang.org/packages/jfmengels/elm-review-documentation/1.0.1/Documentation-ReadmeLinksPointToCurrentVersion could be a good solution...