A friend of mine wrote a simple 2.5D texture renderer using an algorithm from the Doom & Quake era. I whipped up a Matlab script to see how much difference would a "correct" algoritm make.
The script takes in any 4 verteces and renders the texture over them with a wide (90*) FOV.