Support Perlin or similar noise for procedural textures
ianmackenzie opened this issue · 2 comments
ianmackenzie commented
Especially useful for doing things like normal mapping to give surfaces a more realistic slightly bumpy look, without needing an actual texture image
tankorsmash commented
I just watched your elm-conf '19 talk. Are regular textures supported? I don't see it mentioned for sure, and the photorealistic scene doesn't seem to have textures, so I'm not sure.
ianmackenzie commented
Hey @tankorsmash, regular textures are definitely supported! See https://package.elm-lang.org/packages/ianmackenzie/elm-3d-scene/latest/Scene3d-Material#textured-materials for the documentation and https://github.com/ianmackenzie/elm-3d-scene/blob/main/examples/TexturedSphere.elm for an example.