function MeshDistanceMaterial( parameters ) {

	Material.call( this );

	this.type = 'MeshDistanceMaterial';

	this.referencePosition = new Vector3();
	this.nearDistance = 1;
	this.farDistance = 1000;

	this.skinning = false;
	this.morphTargets = false;

	this.map = null;

	this.alphaMap = null;

	this.displacementMap = null;
	this.displacementScale = 1;
	this.displacementBias = 0;

	this.fog = false;
	this.lights = false;

	this.setValues( parameters );

}
@author WestLangley / http://github.com/WestLangley

parameters = {

 referencePosition: <float>,
 nearDistance: <float>,
 farDistance: <float>,

 skinning: <bool>,
 morphTargets: <bool>,

 map: new THREE.Texture( <Image> ),

 alphaMap: new THREE.Texture( <Image> ),

 displacementMap: new THREE.Texture( <Image> ),
 displacementScale: <float>,
 displacementBias: <float>

}