Do anyone know how to implement or simulate one of Direct3D’s texture operation: D3DTOP_MULTIPLYADD using opengl fixed function?
D3DTOP_MULTIPLYADD from MSDN:
Performs a multiply-accumulate operation. It takes the last two arguments, multiplies them together, and adds them to the remaining input/source argument, and places that into the result.
SRGBA = Arg1 + Arg2 * Arg3