A generator to remove objects using objects intensity mask. It will leave the object if the mask value is 1, remove it if the mask value is 0. If the mask value is something in-between, it will remove the object at random using Seed property, the less the value the more the chance to remove the object.
Leaving only the trees on tops using the heightmap as a mask
Input - the default object list (hash) to be processed by the generator.
Mask - desired objects intensity mask. The higher the values, the more objects will remain.
Output - the list (hash) with the objects being removed.
Seed - a seed value for the random generator that decides if objects should be removed.