Thanks for sharing!
I love useful functions smile

Edit: but for a simple 90°-rotation I'd just use:
return float4(tex2D(smpSrc, float2(tex.y, 1 - tex.x)).rgb, 1);
tongue

Edit2: anyway, thanks for the rotation-matrix-calculation-formula grin
with it I finally managed to get a rotation-blur shader working ( I tried many times smirk )

Last edited by Kartoffel; 04/08/13 22:05.

POTATO-MAN saves the day! - Random