lit.fwd_diff
Description
Legacy lighting function (obsolete).
Signature
static DifferentialPair<vector<float, 4>> lit.fwd_diff( DifferentialPair<float> , DifferentialPair<float> , DifferentialPair<float> );
Parameters
Return value
The lighting coefficients, (ambient, diffuse, specular, 1.0).
Remarks
In HLSL, this function is implemented as an intrinsic. It is emulated for other targets.