Searched refs:cos2h (Results 1 – 1 of 1) sorted by relevance
52 const float cos2h = NoH * NoH; in dAshikhmin() local53 const float sin2h = 1.0 - cos2h; in dAshikhmin()55 return (sin4h + 4.0 * exp(-cos2h / (sin2h * r2))) / (CORE_BRDF_PI * (1.0 + 4.0 * r2) * sin4h); in dAshikhmin()67 const float cos2h = NoH * NoH; in dCharlie() local68 const float sin2h = 1.0 - cos2h; // NOTE: should max to fp16 in dCharlie()