issues
search
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
Add more material types
#5
Open
ianmackenzie
opened
7 years ago
ianmackenzie
commented
7 years ago
Will require new shaders:
[ ] Water
[ ] Ceramics (very rough/retroreflective materials)
[ ] Blinn-Phong
[x] Lambertian (diffuse)
[ ] Skin (subsurface scattering)
Simple approximation once normal maps are supported: use normal map for specular lighting but not for diffuse lighting
[ ] Thin translucent materials like leaves and lamp shades that 'glow' from transmitted light
Will require new shaders: