factorized sampler.js from threegenerator.js
shaders but artifacts
two shading implementation but artifacts
shading fixed
shading fixed