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

Support shadows from non-watertight meshes #80

Open ianmackenzie opened 4 years ago

ianmackenzie commented 4 years ago

During construction of shadow meshes, detect if there are any open edges; if so, duplicate each face by adding a corresponding back face.