My shader currently uses 'offSetX and offSetY to alter the vec2(tex) coordinates.
This works fine for one direction, but when I add all the other directions into
it, I end up with another 30 or so lines.
So my question is..how do add an 'Angle' parameter into the equation?
Changing the calculations to something like -
would simplify things, but after 2 weeks of trawling the Internet for a solution,
I have come no closer to solving the problem.