diff options
| author | yum <yum.food.vr@gmail.com> | 2025-06-13 15:47:31 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-06-23 01:13:01 -0700 |
| commit | 91f89f5cbeed39cfa02ce5c4e7d9d75ce37625ff (patch) | |
| tree | 644fa430d774bc6797c774d1af2091138f696908 /yum_pbr.cginc | |
| parent | 6576484d1f9f1407fc40d36a1d46f5232869926c (diff) | |
ssao now applies to basecolor instead of lighting
also add toggle to consider l1 spherical harmonics. off by default for
toon look.
Diffstat (limited to 'yum_pbr.cginc')
| -rw-r--r-- | yum_pbr.cginc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yum_pbr.cginc b/yum_pbr.cginc index 03026c3..342b020 100644 --- a/yum_pbr.cginc +++ b/yum_pbr.cginc @@ -133,6 +133,7 @@ YumPbr GetYumPbr(v2f i, float3x3 tangentToWorld) { #endif applyDecals(i, result.albedo, normal_tangent, result.metallic, result.smoothness); + result.smoothness = min(0.99, result.smoothness); propagateRoughness(result.smoothness, result.roughness_perceptual, result.roughness); #if defined(_OKLCH_CORRECTION) |
