Have a look at the NodeMaterial API that it's being designed right now:
https://threejs.org/examples/?q=nodes#webgl_materials_nodes_...
https://raw.githack.com/mrdoob/three.js/dev/examples/?q=node...
Have a look at the NodeMaterial API that it's being designed right now:
https://threejs.org/examples/?q=nodes#webgl_materials_nodes_...