Home
last modified time | relevance | path

Searched refs:tanThetaM2 (Results 1 – 3 of 3) sorted by relevance

/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/closure/
H A Dbsdf_microfacet.h420 float tanThetaM2 = (1 - cosThetaM2) / cosThetaM2; in bsdf_microfacet_ggx_eval_reflect() local
431 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() local
538 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() local
655 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() local
755 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() local
1056 float tanThetaM2 = 1 / (cosThetaM2)-1; in bsdf_microfacet_beckmann_sample() local
[all …]
/dports/graphics/openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/testrender/
H A Dshading.cpp551 float tanThetaM2 = (cosPhi2st2 + sinPhi2st2) / cosThetaM2; in evalD() local
553 return Distribution::F(tanThetaM2) / (xalpha * yalpha * cosThetaM4); in evalD()
/dports/graphics/py-openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/testrender/
H A Dshading.cpp551 float tanThetaM2 = (cosPhi2st2 + sinPhi2st2) / cosThetaM2; in evalD() local
553 return Distribution::F(tanThetaM2) / (xalpha * yalpha * cosThetaM4); in evalD()