NodePhongMaterial.js 582 B

1234567891011121314151617
  1. /**
  2. * @author sunag / http://www.sunag.com.br/
  3. */
  4. THREE.NodePhongMaterial = function() {
  5. this.node = new THREE.NodePhong();
  6. THREE.NodeMaterial.call( this, this.node, this.node );
  7. };
  8. THREE.NodePhongMaterial.prototype = Object.create( THREE.NodeMaterial.prototype );
  9. THREE.NodePhongMaterial.prototype.constructor = THREE.NodePhongMaterial;
  10. THREE.NodeMaterial.Shortcuts( THREE.NodePhongMaterial.prototype, 'node',
  11. [ 'color', 'alpha', 'specular', 'shininess', 'normal', 'normalScale', 'emissive', 'ambient', 'shadow', 'ao', 'environment', 'reflectivity', 'transform' ] );