summaryrefslogtreecommitdiffstats
path: root/features.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-04-08 17:52:52 -0700
committeryum <yum.food.vr@gmail.com>2025-04-08 17:52:52 -0700
commit40c33d438afa036acfcbc58ca4078f25db1624f2 (patch)
tree045d3d3b44e785ad7d8fbaaa2ec874585a5d9773 /features.cginc
parent2dfd6322587eb095a5a4f7b22d70e1abcc14d5e3 (diff)
Add static flag to limit fallback cubemap to metallic
Diffstat (limited to 'features.cginc')
-rw-r--r--features.cginc4
1 files changed, 4 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc
index b753f31..766d1cd 100644
--- a/features.cginc
+++ b/features.cginc
@@ -26,6 +26,10 @@
#pragma shader_feature_local _FALLBACK_CUBEMAP
//endex
+//ifex _Fallback_Cubemap_Limit_Metallic_Enabled==0
+#pragma shader_feature_local _FALLBACK_CUBEMAP_LIMIT_METALLIC
+//endex
+
//ifex _Wrapped_Lighting_Enabled==0
#pragma shader_feature_local _WRAPPED_LIGHTING
//endex