I have a challenging question (there’s probably a simple solution.)
Using pixel coordinate space: I would like to be able to generate a quadrilateral gradient that is basically a “loft of two lines”.
To expand, I’d like a solution to this:
Note that the each points do have the same colors, but as you approach the center of colinear lines, the colors are very much different.
EDIT: Added separate channels.
How can I generate arbitrary quads without that problem in pixel-coordinate space? Every point in colinear lines should have the same color basically.
It should look more like this, but with shifted center point of quads with C0 continuity:
EDIT: I think this will help - math - Relative position of a point within a quadrilateral - Stack Overflow