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

Try computing tangent basis from UV derivatives #103

Open ianmackenzie opened 3 years ago

ianmackenzie commented 3 years ago

Reference: http://www.thetenthplanet.de/archives/1180 Sample implementation: https://github.com/glslify/glsl-perturb-normal