12345678910111213141516171819202122232425262728293031323334 |
- /**
- * @author sunag / http://www.sunag.com.br/
- */
- THREE.StandardNodeMaterial = function () {
- this.node = new THREE.StandardNode();
- THREE.NodeMaterial.call( this, this.node, this.node );
- this.type = "StandardNodeMaterial";
- };
- THREE.StandardNodeMaterial.prototype = Object.create( THREE.NodeMaterial.prototype );
- THREE.StandardNodeMaterial.prototype.constructor = THREE.StandardNodeMaterial;
- THREE.NodeMaterial.addShortcuts( THREE.StandardNodeMaterial.prototype, 'node', [
- 'color',
- 'alpha',
- 'roughness',
- 'metalness',
- 'reflectivity',
- 'clearCoat',
- 'clearCoatRoughness',
- 'normal',
- 'emissive',
- 'ambient',
- 'light',
- 'shadow',
- 'ao',
- 'environment',
- 'transform'
- ] );
|