1
I'm writing a renderer for an old DOS game were 3D polygons were rendered in software. I'd like to simulate, using a shader, the following material/effect, used for filling a triangle :
The fist pixel of each scanline start with a given color (here purple) and progressively fade to another co...