This is a pixel shader I made for Schrodinger, which deforms a texture to the shape of any convex quadrilateral.

It's similar to Werbad's 3D shader, but doesn't require that any two edges be parallel.

http://i.imgur.com/tasFsUa.png

Download: Attachment 16975