1 /**
  2  * @author alteredq / http://alteredqualia.com/
  3  *
  4  * parameters = {
  5  *  fragmentShader: <string>,
  6  *  vertexShader: <string>,
  7  *
  8  *  uniforms: { "parameter1": { type: "f", value: 1.0 }, "parameter2": { type: "i" value2: 2 } },
  9  *
 10  *  defines: { "label" : "value" },
 11  *
 12  *  shading: THREE.SmoothShading,
 13  *  blending: THREE.NormalBlending,
 14  *  depthTest: <bool>,
 15  *
 16  *  wireframe: <boolean>,
 17  *  wireframeLinewidth: <float>,
 18  *
 19  *  lights: <bool>,
 20  *
 21  *  vertexColors: THREE.NoColors / THREE.VertexColors / THREE.FaceColors,
 22  *
 23  *  skinning: <bool>,
 24  *  morphTargets: <bool>,
 25  *  morphNormals: <bool>,
 26  *
 27  *	fog: <bool>
 28  * }
 29  */
 30 
 31 /**@constructor*/
 32 THREE.ShaderMaterial = function ( parameters ) {
 33 
 34 	THREE.Material.call( this );
 35 
 36 	this.fragmentShader = "void main() {}";
 37 	this.vertexShader = "void main() {}";
 38 	this.uniforms = {};
 39 	this.defines = {};
 40 	this.attributes = null;
 41 
 42 	this.shading = THREE.SmoothShading;
 43 
 44 	this.wireframe = false;
 45 	this.wireframeLinewidth = 1;
 46 
 47 	this.fog = false; // set to use scene fog
 48 
 49 	this.lights = false; // set to use scene lights
 50 
 51 	this.vertexColors = THREE.NoColors; // set to use "color" attribute stream
 52 
 53 	this.skinning = false; // set to use skinning attribute streams
 54 
 55 	this.morphTargets = false; // set to use morph targets
 56 	this.morphNormals = false; // set to use morph normals
 57 
 58 	this.setValues( parameters );
 59 
 60 };
 61 
 62 THREE.ShaderMaterial.prototype = Object.create( THREE.Material.prototype );
 63 
 64 THREE.ShaderMaterial.prototype.clone = function () {
 65 
 66 	var material = new THREE.ShaderMaterial();
 67 
 68 	THREE.Material.prototype.clone.call( this, material );
 69 
 70 	material.fragmentShader = this.fragmentShader;
 71 	material.vertexShader = this.vertexShader;
 72 
 73 	material.uniforms = THREE.UniformsUtils.clone( this.uniforms );
 74 
 75 	material.attributes = this.attributes;
 76 	material.defines = this.defines;
 77 
 78 	material.shading = this.shading;
 79 
 80 	material.wireframe = this.wireframe;
 81 	material.wireframeLinewidth = this.wireframeLinewidth;
 82 
 83 	material.fog = this.fog;
 84 
 85 	material.lights = this.lights;
 86 
 87 	material.vertexColors = this.vertexColors;
 88 
 89 	material.skinning = this.skinning;
 90 
 91 	material.morphTargets = this.morphTargets;
 92 	material.morphNormals = this.morphNormals;
 93 
 94 	return material;
 95 
 96 };
 97 

nike free rn new balance hombre baratas cinturones gucci ugg rebajas cinturon gucci ray ban baratas nike cortez peuterey mujer christian louboutin madrid mbt zapatos gafas ray ban baratas mbt ofertas air max blancas mbt barcelona nike air max 90 woolrich barcelona nike mujer botas ugg gafas de sol carrera aratas air max 2016 baratas oakley baratas nike air max 2016

mbt skor nike sverige louboutin skor hollister sverige polo ralph lauren skjorta woolrich jacka dam canada goose jacka woolrich jacka ray ban rea canada goose rea michael kors rea new balance skor ralph lauren skjorta new balance rea uggs sverige lacoste rea christian louboutin skor moncler jacka nike shox barbour jacka uggs rea