 			_mipMapping = mipMapping;
 			_propertyName = propertyName;
 			_matrix = matrix;
+			
+			_data = new DataProvider();
+			_data.setProperty(propertyName, _texture);
 		}
 		
 		override protected function targetAddedHandler(ctrl		: EnterFrameController,

												 propertyName	: String	= 'diffuseMap',
												 matrix			: Matrix	= null)
		{
			super(Mesh);
			
			_source = source;
			_texture = new TextureResource(width, height);

		{
			super.targetAddedHandler(ctrl, target);
			
//			(target as Mesh).properties.setProperty(_propertyName, _texture);
			if (target is Scene)
				(target as Scene).bindings.addProvider(_data);
			else if (target is Mesh)
				(target as Mesh).bindings.addProvider(_data);
			else
				throw new Error();
		}
		
		override protected function targetRemovedHandler(ctrl	: EnterFrameController,
