This node must get pixels from input1 with offset calculated with:
Code: Select all
offset[X] = (input2[R] - 0.5) * amount_X
offset[Y] = (input2[G] - 0.5) * amount_Y
With this node easily can be done effects like:



Moderators: jesterKing, stiv
Code: Select all
offset[X] = (input2[R] - 0.5) * amount_X
offset[Y] = (input2[G] - 0.5) * amount_Y