Well Im using a distort map set higher than 2 columns/rows, plus z heights. What Im wanting is more like 50.
The problem is arranging the quadrants within the loop, or I should say loops.
In a loop you first define the distort maps size.
50 in this case so 49 columns/rows.
That also gives me how many steps x, and y wise.
Within a nested loop its:
For x= 0 to 49
for y= 0 to 49
>distort map set relative displacement at loopindex(x), loopindex(y)
The problem is for each x,y step I have to set u, and v to one of four quadrants 0,0| texture size,0 | 0,texture size | texture size,texture size.
So I either need to add two more loops or devise a way using private variables.