Skip to content

meetar/three.js-normal-map-0

Repository files navigation

three.js-normal-map-0

A demo of a normal map in three.js, showing some problems and solutions:

Getting normals to work

I asked: "Why do these normals look twisted?" http://stackoverflow.com/questions/17453298/twisted-normals-with-the-three-js-normal-shader-r-58

Adding a displacement map

I asked: "Can normals be recalculated post-displacement?" http://stackoverflow.com/questions/17528878/compute-normals-from-displacement-map-in-three-js-r-58

Getting specular right

Getting normals from displacement map

Getting specular right 2

About

The continuing saga of displacement and normals in three.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published