summaryrefslogtreecommitdiffstats
path: root/features.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-01-17 14:43:18 -0800
committeryum <yum.food.vr@gmail.com>2026-01-17 15:11:56 -0800
commitc6923a553c98da7805407fe1fbfdb6c69c8d7530 (patch)
treead4a46d220fbb210cf82ffbe83b14ed05bab0a28 /features.cginc
parent02c32fcc30e753da96f0aa072ed1d74ca300979c (diff)
Impostors: continue work on depth
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 36ee2bf..8ebd19a 100644
--- a/features.cginc
+++ b/features.cginc
@@ -49,6 +49,10 @@
#pragma shader_feature_local _DEBUG_VIEW_METALLIC_GLOSS
//endex
+//ifex _Debug_View_Depth==0
+#pragma shader_feature_local _DEBUG_VIEW_DEPTH
+//endex
+
//ifex _Instance_Distance_Culling_Enabled==0
#pragma shader_feature_local _INSTANCE_DISTANCE_CULLING
//endex