ok.. the function at the moment:

Code:
var littleformat;
		var bigformat;
		var pixel;
		var pixel2;
		COLOR* temp;
		COLOR* temp2;
		var position[2];
		position[0] = random(2048);
		position[1] = random(2048);
		
		bigformat = bmap_lock(map, 0);
		while(plainmax != 0 && plaincount < plainmax)
		{
			
			var breite = bmap_width(plain_tile);
			var hoehe = bmap_height(plain_tile);
			
			littleformat = bmap_lock(plain_tile, 0);
			var a = 0;
			var b = 0;
			for(a = 0; a<breite; a++)
			{
				for(b = 0; b<breite; b++)
				{
					if(position[0]+a < breite && position[0]+a > 0 && position[1]+b < hoehe && position[1]+b > 0)
					{
						pixel = pixel_for_bmap(plain_tile, a, b);
						pixel_to_vec(temp,100,8888,pixel);
						
						pixel2 = pixel_for_bmap(map, position[0]+a, position[1]+b);
						pixel_to_vec(temp2,100,8888,pixel2);
						
						vec_add(temp2, temp);
						
						pixel = pixel_for_vec(temp2,100,8888);
						
						
						pixel_to_bmap(map,position[0]+a,position[1]+b,pixel);
					}
				}
				wait(1);
			}
			
			
			
			bmap_unlock(plain_tile);
			plaincount += 1;
			wait(1);
		}
		bmap_unlock(map);
	}


It makes.. nothing.. means: i can´t see anything ._.


Multiplying what alpha???
(plan = the heightmap part, map = the ground)


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<