summaryrefslogtreecommitdiffstats
path: root/pbr.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'pbr.cginc')
-rwxr-xr-xpbr.cginc4
1 files changed, 0 insertions, 4 deletions
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,