[Bf-blender-cvs] [5926f69f392] microfacet_hair: Format comment
Weizhen Huang
noreply at git.blender.org
Mon Jan 23 12:20:22 CET 2023
Commit: 5926f69f392f46b5af0f8858c8dc4c3b214f2619
Author: Weizhen Huang
Date: Mon Jan 23 12:20:11 2023 +0100
Branches: microfacet_hair
https://developer.blender.org/rB5926f69f392f46b5af0f8858c8dc4c3b214f2619
Format comment
===================================================================
M intern/cycles/kernel/closure/bsdf_hair_microfacet.h
===================================================================
diff --git a/intern/cycles/kernel/closure/bsdf_hair_microfacet.h b/intern/cycles/kernel/closure/bsdf_hair_microfacet.h
index 4494a4d24e2..b5c1a6ab628 100644
--- a/intern/cycles/kernel/closure/bsdf_hair_microfacet.h
+++ b/intern/cycles/kernel/closure/bsdf_hair_microfacet.h
@@ -512,7 +512,7 @@ ccl_device float3 bsdf_microfacet_hair_eval_tt_trt(KernelGlobals kg,
/* TRT */
if (bsdf->extra->TRT > 0.0f) {
- /* sample wh2 */
+ /* Sample wh2. */
const float2 sample2 = make_float2(lcg_step_float(&rng_quadrature),
lcg_step_float(&rng_quadrature));
const float3 wh2 = sample_wh<m_type>(kg, roughness, -wt, wmt, sample2);
More information about the Bf-blender-cvs
mailing list