Calculates the Fresnel term for unpolarized light.
XMVECTOR XMFresnelTerm(
XMVECTOR CosIncidentAngle,
XMVECTOR RefractionIndex
)
CosIncidentAngle
Type: XMVECTOR
Vector consisting of the cosines of the incident angles.
RefractionIndex
Type: XMVECTOR
Vector consisting of the refraction indices of the materials corresponding to the incident angles.
Type: XMVECTOR
Returns a vector containing the Fresnel term of each component.
Header: Declared in directxmath.h.