Credits: Francois Tarliers who wrote this Shader for After Effects and also seems to be a really nice guy.
Now with DX11 Version
A straight 'port' of Francois Tarliers really nice ft Cubic Lens Distortion. The original shader was written in PixelBender which seems to be a fancy-shmancy adobe word for hlsl. Also included are some PS 2.0 techniques which feature different subsets of the full PS 3.0 implementation and could be handy when one wants to save some precious gpu cycles.
Cheers to dEp for accidentally reminding me that i had this shader! ;)
(also check out his shift-rgb)
anonymous user login
nice, will fit a project i have in mind perfectly. :)
Thanks m4d, this is sweet ;)
Thought an inverse distortion might be nice for undistorting cameras, not actually tested on a lens however :)
A useful shader though thank you m4d
thanks for the nice comments, guys :)
@cat: since the distortion features are based on the SynthEyes Lens Distortion Algorithm that should actually work..
(also see this video for reference.)
@cat: thanks for teh update! totally makes sense.. ;)