webvr js meetup initial commit
This commit is contained in:
17
node_modules/three/examples/js/nodes/materials/StandardNodeMaterial.js
generated
vendored
Normal file
17
node_modules/three/examples/js/nodes/materials/StandardNodeMaterial.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* @author sunag / http://www.sunag.com.br/
|
||||
*/
|
||||
|
||||
THREE.StandardNodeMaterial = function() {
|
||||
|
||||
this.node = new THREE.StandardNode();
|
||||
|
||||
THREE.NodeMaterial.call( this, this.node, this.node );
|
||||
|
||||
};
|
||||
|
||||
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', 'normalScale', 'emissive', 'ambient', 'light', 'shadow', 'ao', 'environment', 'transform' ] );
|
||||
Reference in New Issue
Block a user