faceforward — return a vector pointing in the same direction as another
Specifies the vector to orient.
Specifies the incident vector.
Specifies the reference vector.
faceforward orients a vector to point away from a surface as defined by its normal.
I) < 0
N, otherwise it returns
|OpenGL ES Shading Language Version|
Copyright © 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.