summaryrefslogtreecommitdiffstats
path: root/features.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-02-25 18:55:49 -0800
committeryum <yum.food.vr@gmail.com>2026-02-25 18:55:49 -0800
commite7c7b5e9fd1dc14755da97b0f4edb0bc92c744b3 (patch)
tree5a1cbf52ca16328e9beccc4b4ac7b09414899924 /features.cginc
parent0e0584159c47c0229e1ba2120dcc782c7250d09f (diff)
Plumb matcaps & rim lighting
Diffstat (limited to 'features.cginc')
-rwxr-xr-xfeatures.cginc12
1 files changed, 12 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc
index 53ed832..a3be4bc 100755
--- a/features.cginc
+++ b/features.cginc
@@ -162,4 +162,16 @@
#pragma shader_feature_local _IMPOSTORS_DEPTH
//endex
+//ifex _Matcap0_Enabled==0
+#pragma shader_feature_local _MATCAP0
+#pragma shader_feature_local _MATCAP0_QUANTIZATION
+#pragma shader_feature_local _MATCAP0_MASK
+//endex
+
+//ifex _Rim_Lighting0_Enabled==0
+#pragma shader_feature_local _RIM_LIGHTING0
+#pragma shader_feature_local _RIM_LIGHTING0_QUANTIZATION
+#pragma shader_feature_local _RIM_LIGHTING0_MASK
+//endex
+
#endif // __FEATURES_INC