Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-10-12 09:52:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-12 09:55:02 +0300
commitc1c6c11ca6c5f4cd775b787910fe69119b054af2 (patch)
treee41bb7057e27810c18ca6cc23e40ee48c3e814b4 /intern/cycles/kernel/closure/bsdf_principled_diffuse.h
parenta91c6f1804e9ce07e9f751bc1c3c05751da7607a (diff)
Cleanup: spelling in comments
Diffstat (limited to 'intern/cycles/kernel/closure/bsdf_principled_diffuse.h')
-rw-r--r--intern/cycles/kernel/closure/bsdf_principled_diffuse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/closure/bsdf_principled_diffuse.h b/intern/cycles/kernel/closure/bsdf_principled_diffuse.h
index 04963ca1dc5..52a37eafd9f 100644
--- a/intern/cycles/kernel/closure/bsdf_principled_diffuse.h
+++ b/intern/cycles/kernel/closure/bsdf_principled_diffuse.h
@@ -91,7 +91,7 @@ ccl_device float3 bsdf_principled_diffuse_compute_brdf(
return make_float3(value, value, value);
}
-/* Compute Fresnel at entry point, to be compbined with PRINCIPLED_DIFFUSE_LAMBERT_EXIT
+/* Compute Fresnel at entry point, to be combined with #PRINCIPLED_DIFFUSE_LAMBERT_EXIT
* at the exit point to get the complete BSDF. */
ccl_device_inline float bsdf_principled_diffuse_compute_entry_fresnel(const float NdotV)
{
@@ -99,7 +99,7 @@ ccl_device_inline float bsdf_principled_diffuse_compute_entry_fresnel(const floa
return (1.0f - 0.5f * FV);
}
-/* Ad-hoc weight adjusment to avoid retro-reflection taking away half the
+/* Ad-hoc weight adjustment to avoid retro-reflection taking away half the
* samples from BSSRDF. */
ccl_device_inline float bsdf_principled_diffuse_retro_reflection_sample_weight(
PrincipledDiffuseBsdf *bsdf, const float3 I)