#define DISTANCE
varying vec3 vWorldPosition;
#include <common>



// /boxes/MAT/meshStandardBuilder1/attribute1
varying vec3 v_POLY_attribute_basecolor;

// /boxes/MAT/meshStandardBuilder1/attribute1
attribute vec3 basecolor;




#include <uv_pars_vertex>
#include <displacementmap_pars_vertex>
#include <morphtarget_pars_vertex>
#include <skinning_pars_vertex>
#include <clipping_planes_pars_vertex>
void main() {
	#include <uv_vertex>
	#include <skinbase_vertex>
	#ifdef USE_DISPLACEMENTMAP
// removed:
//		#include <beginnormal_vertex>
		#include <morphnormal_vertex>
		#include <skinnormal_vertex>
	#endif
// removed:
//	#include <begin_vertex>



	// /boxes/MAT/meshStandardBuilder1/attribute1
	v_POLY_attribute_basecolor = vec3(basecolor);
	
	// /boxes/MAT/meshStandardBuilder1/output1
	vec3 transformed = position;
	vec3 objectNormal = normal;
	#ifdef USE_TANGENT
		vec3 objectTangent = vec3( tangent.xyz );
	#endif



	#include <morphtarget_vertex>
	#include <skinning_vertex>
	#include <displacementmap_vertex>
	#include <project_vertex>
	#include <worldpos_vertex>
	#include <clipping_planes_vertex>
	vWorldPosition = worldPosition.xyz;
}