summaryrefslogtreecommitdiffstats
path: root/features.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-02-12 16:10:26 -0800
committeryum <yum.food.vr@gmail.com>2025-02-12 16:10:26 -0800
commit19bdcec2b69aff8b75d5c9c6c4d0cb4d0d9ec5c3 (patch)
tree0bbc695c04af083c0c2408d6dbdef35ae386b3f8 /features.cginc
parentcaf02458737f93b20978f41613ad5b56e074e154 (diff)
fix normal bugs, add normal shadowing
going to remove normal shadowing, it's not worth the complexity
Diffstat (limited to 'features.cginc')
-rw-r--r--features.cginc9
1 files changed, 6 insertions, 3 deletions
diff --git a/features.cginc b/features.cginc
index c586f4a..ab02784 100644
--- a/features.cginc
+++ b/features.cginc
@@ -2,10 +2,13 @@
#define __FEATURES_INC
//ifex _Wrapped_Lighting_Enabled==0
-#pragma shader_feature _WRAPPED_LIGHTING
+#pragma shader_feature_local _WRAPPED_LIGHTING
//endex
-//ifex _Outline_Mask_Enabled==1
-#pragma shader_feature _OUTLINE_MASK
+//ifex _Outline_Mask_Enabled==0
+#pragma shader_feature_local _OUTLINE_MASK
+//endex
+//ifex _Bump_Shadows_Enabled==0
+#pragma shader_feature_local _BUMP_SHADOWS
//endex
#endif // __FEATURES_INC