Maybe Georges 'grass' and 'forest' scripts could help out (AUM), they generate objects based on the position of the player and can be implemented to plant them on rgb or texture values.