From c8cfc043c105a32e1efab341536311277bfc90eb Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 9 Mar 2026 21:07:15 -0700 Subject: Fix clearcoat IBL --- pbr.cginc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pbr.cginc') diff --git a/pbr.cginc b/pbr.cginc index ab84c73..d79d58d 100755 --- a/pbr.cginc +++ b/pbr.cginc @@ -198,10 +198,6 @@ Pbr getPbr(v2f i) { #endif propagateSmoothness(pbr); -#if defined(_AMBIENT_OCCLUSION) - pbr.ao = saturate(lerp(1.0, _OcclusionMap.Sample(bilinear_repeat_s, i.uv01.xy).r, _OcclusionStrength)); -#endif - #if defined(_EMISSIONS) && defined(FORWARD_BASE_PASS) float3 emission_tint = _EmissionColor; float3 emission_color = _EmissionMap.Sample(trilinear_repeat_s, -- cgit v1.2.3