summaryrefslogtreecommitdiffstats
path: root/features.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-01-18 08:52:18 -0800
committeryum <yum.food.vr@gmail.com>2026-01-18 08:52:18 -0800
commit50e451441f628aa3a28241af118700ae12147583 (patch)
tree8a815e419b1f1d8667a5323e7fec289c8be60cfa /features.cginc
parentb925b4b1bf79e3d6f930a4d799a7194673b62bde (diff)
Impostors: begin optimization work
Diffstat (limited to 'features.cginc')
-rwxr-xr-x[-rw-r--r--]features.cginc8
1 files changed, 8 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc
index 8ebd19a..ebcf8a7 100644..100755
--- a/features.cginc
+++ b/features.cginc
@@ -45,6 +45,10 @@
#pragma shader_feature_local _DEBUG_VIEW_WORLD_SPACE_NORMALS
//endex
+//ifex _Debug_View_Object_Space_Normals==0
+#pragma shader_feature_local _DEBUG_VIEW_OBJECT_SPACE_NORMALS
+//endex
+
//ifex _Debug_View_Metallic_Gloss==0
#pragma shader_feature_local _DEBUG_VIEW_METALLIC_GLOSS
//endex
@@ -129,4 +133,8 @@
#pragma shader_feature_local _IMPOSTORS
//endex
+//ifex _Impostors_Depth_Enabled==0
+#pragma shader_feature_local _IMPOSTORS_DEPTH
+//endex
+
#endif // __FEATURES_INC