Searched refs:tanThetaM2 (Results 1 – 3 of 3) sorted by relevance
420 float tanThetaM2 = (1 - cosThetaM2) / cosThetaM2; in bsdf_microfacet_ggx_eval_reflect() local431 D = alpha2 / (M_PI_F * cosThetaM4 * (alpha2 + tanThetaM2) * (alpha2 + tanThetaM2)); in bsdf_microfacet_ggx_eval_reflect()536 float tanThetaM2 = (1 - cosThetaM2) / cosThetaM2; in bsdf_microfacet_ggx_eval_transmit() local538 D = alpha2 / (M_PI_F * cosThetaM4 * (alpha2 + tanThetaM2) * (alpha2 + tanThetaM2)); in bsdf_microfacet_ggx_eval_transmit()638 float tanThetaM2 = 1 / (cosThetaM2)-1; in bsdf_microfacet_ggx_sample() local655 D = alpha2 / (M_PI_F * cosThetaM4 * (alpha2 + tanThetaM2) * (alpha2 + tanThetaM2)); in bsdf_microfacet_ggx_sample()754 float tanThetaM2 = 1 / (cosThetaM2)-1; in bsdf_microfacet_ggx_sample() local755 float D = alpha2 / (M_PI_F * cosThetaM4 * (alpha2 + tanThetaM2) * (alpha2 + tanThetaM2)); in bsdf_microfacet_ggx_sample()965 float tanThetaM2 = (1 - cosThetaM2) / cosThetaM2; in bsdf_microfacet_beckmann_eval_transmit() local1056 float tanThetaM2 = 1 / (cosThetaM2)-1; in bsdf_microfacet_beckmann_sample() local[all …]
551 float tanThetaM2 = (cosPhi2st2 + sinPhi2st2) / cosThetaM2; in evalD() local553 return Distribution::F(tanThetaM2) / (xalpha * yalpha * cosThetaM4); in evalD()