Custom Shaders in Three.js
ShaderMaterial, onBeforeCompile and the shader chunk system — hacking Three's materials while keeping their lighting.
ShaderMaterial, onBeforeCompile and the shader chunk system — hacking Three's materials while keeping their lighting.