summaryrefslogtreecommitdiffstats
path: root/features.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-02-23 20:20:31 -0800
committeryum <yum.food.vr@gmail.com>2026-02-23 20:20:31 -0800
commit5fa1c0ec5b2b59db3858a7dfe9f4001eeeff8cc9 (patch)
tree5e1d7729e2fe52964c9d7c52aece72b4f2ecb3e5 /features.cginc
parent2d205f1f5df12b6e66f6cca1a05152b18d53c0d1 (diff)
Add ambient occlusion & normal filtering
Diffstat (limited to 'features.cginc')
-rwxr-xr-xfeatures.cginc4
1 files changed, 4 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc
index 3cf46e0..9291f05 100755
--- a/features.cginc
+++ b/features.cginc
@@ -15,6 +15,10 @@
#pragma shader_feature_local _TESSELLATION_HEIGHTMAP_DIRECTION_CONTROL
//endex
+//ifex _Ambient_Occlusion_Enabled==0
+#pragma shader_feature_local _AMBIENT_OCCLUSION
+//endex
+
//ifex _Clearcoat_Enabled==0
#pragma shader_feature_local _CLEARCOAT
//endex