DX11 version for Cubic Lens Distortion

Hi,

Related to the Projection Sphere that Kalle was exhibiting in Node15 I am looking for a DX11 alternative to the Cubic Lens Distortion Shader

ft-cubic-lens-distortion

While I am writing I am in the process of porting the shader but its not working yet and I dont know if it will work soon, sooo… if anyone can help out much appreciated!

Cheers
D

self solve

ft_CubicLensDistortion_11.rar (15.5 kB)

seems alot of code there hehe ;]

Barrel.rar (597 Bytes)

vvvv-Dome is great for it.