 package aerys.minko.render.shader.part.environment
 {
+	import flash.geom.Rectangle;
+	
+	import mx.messaging.SubscriptionInfo;
+	
 	import aerys.minko.render.material.environment.EnvironmentMappingProperties;
 	import aerys.minko.render.shader.SFloat;
 	import aerys.minko.render.shader.Shader;

            
			// compute reflected vector
			var cWorldCameraPosition	: SFloat = this.cameraPosition;
			var vsWorldVertexToCamera	: SFloat = normalize(subtract(cWorldCameraPosition, vsWorldPosition));
			var reflected				: SFloat = normalize(interpolate(reflect(vsWorldNormal.xyzz, vsWorldVertexToCamera.xyzz)));
			var reflectionType 			: int	 = meshBindings.getProperty(
				EnvironmentMappingProperties.ENVIRONMENT_MAPPING_TYPE
			);

	import aerys.minko.type.enum.SamplerFormat;
	import aerys.minko.type.enum.SamplerMipMapping;
	import aerys.minko.type.enum.SamplerWrapping;
	
	public class EnvironmentMappingShaderPart extends LightAwareShaderPart
	{
