Hi I started this here as it is no longer a question of if someone has done it it’s now what is the best way of doing it.
Ok I have been learning a bit and I have come up with a couple of ideas. Comments would be gratefully received.
What I am now thinking is that to do this I need a persistent point cloud.
My current idea is to simply feed the script with another shader like noise or what ever.
a start point
start colour of value
a possible destination.
an erosion level
and maybe other parameters
a hit colour or value
then start at the start point head to the destination find the closest points that are equal to the hit colour. Find the next that is not that colour and then look for it again when found calculate the erosion and draw a line of the appropriate value between the two points. This process would continue for each point found and those around it always heading in the direction toward the destination.
Is this a good way to look at the problem or am I completely off track here.
Feeding it with another texture would allow the code to me small and simple and infinitely flexible.