Microsoft DirectX 8.1 (C++) |
Calculate the Fresnel term.
FLOAT D3DXFresnelTerm( FLOAT CosTheta, FLOAT RefractionIndex, );
This function returns the Fresnel term for unpolarized light. CosTheta is the cosine of the incident angle.
Header: Declared in D3dx8math.h.
Import Library: Use D3dx8.lib.