Result of tonights spaghetti code
https://drive.google.com/open?id=1a1ERXJgZNwd_rHxmFJB2quBF0qrBeA6Mthe new effect is most noticable in the bar, the old version only offset up and left, this does up/down and left/right.
however there is something causing a diagonal up and left smear, most noticable on the forest stream background(when the girl is over the dirt in the centre of the screen. or just turn off the other layers and the compose at the end of the .scn
i guess that is just coming from how i am combining the results at the end.
Edit:-
just changed over to
float x = ((2*combo.r)-1.0) * (Offset*100);
float y = ((2*combo.b)-1.0) * (Offset*100);
they should still be in vector space but if i dont put in the (2*colour)-1.0 it doesnt work properly ...hmmm
think it's this...
vec3 cp0 = (Gray4 * Gray1);
should move to colspace before i do that...or just actually get round to doing the cross properly...naaa
that was wrong but not the cause of the diagonal streaks. thats coming from the x,y coords. i only need the offset(+-1) in the vector not the whole thing.
hmm
vec2 Go0 = vec2((-1.0)+(Offset.x * 576), (-1.0)+(Offset.y * 16.1));
still got the diagonal streaks...
it may just be that texture causing the problem as it's not really a problem on the others.
still... found other errors by looking for it so thats a bonus.
lol, just re-read what you wrote and you told me about the above problem... helps if i pay attention.