var materials = [ new THREE.MeshBasicMaterial( {color:'#b02030'} ), new THREE.MeshLambertMaterial( {color:'#b02030'} ), new THREE.MeshPhongMaterial( {color:'#b02030', shininess: 100 } ), new THREE.MeshNormalMaterial(), // ... ]; var materialToShow = 0;
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter