Searched refs:m0_roughness (Results 1 – 4 of 4) sorted by relevance
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/closure/ |
H A D | bsdf_hair_principled.h | 47 float m0_roughness; 197 bsdf->m0_roughness = clamp(bsdf->m0_roughness * bsdf->v, 0.001f, 1.0f); in bsdf_principled_hair_setup() 202 bsdf->m0_roughness = sqr(0.726f * bsdf->m0_roughness + 0.812f * sqr(bsdf->m0_roughness) + in bsdf_principled_hair_setup() 203 3.700f * pow20(bsdf->m0_roughness)); in bsdf_principled_hair_setup() 331 Mp = longitudinal_scattering(angles[0], angles[1], sin_theta_o, cos_theta_o, bsdf->m0_roughness); in bsdf_principled_hair_eval() 448 Mp = longitudinal_scattering(angles[0], angles[1], sin_theta_o, cos_theta_o, bsdf->m0_roughness); in bsdf_principled_hair_sample() 492 bsdf->m0_roughness = fmaxf(roughness, bsdf->m0_roughness); in bsdf_principled_hair_blur()
|
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/shaders/ |
H A D | node_principled_hair_bsdf.osl | 69 float m0_roughness = 1.0 - clamp(Coat, 0.0, 1.0); 104 BSDF = principled_hair(Normal, sigma, roughness, radial_roughness, m0_roughness, Offset, IOR);
|
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/svm/ |
H A D | svm_closure.h | 785 float m0_roughness = 1.0f - clamp(coat, 0.0f, 1.0f); in svm_node_closure_bsdf() local 790 bsdf->m0_roughness = m0_roughness; in svm_node_closure_bsdf()
|
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/osl/ |
H A D | osl_closures.cpp | 268 CLOSURE_FLOAT_PARAM(PrincipledHairClosure, params.m0_roughness), in closure_bsdf_principled_hair_params()
|