summaryrefslogtreecommitdiffstats
path: root/features.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-07-28 10:08:59 -0700
committeryum <yum.food.vr@gmail.com>2026-07-28 10:08:59 -0700
commit70f2b5fa235ec7b23eb8d9710bd7a3e5934211df (patch)
tree69cb485cef3318854b09919a8ff10e88a787944c /features.cginc
parent110b619e8579a946f2448c61da380a8e4ae8cc48 (diff)
Add replace alpha option to decals
Diffstat (limited to 'features.cginc')
-rwxr-xr-xfeatures.cginc8
1 files changed, 8 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc
index 6b7efcf..5076d66 100755
--- a/features.cginc
+++ b/features.cginc
@@ -210,34 +210,42 @@
//ifex _Decal0_Enabled==0
#pragma shader_feature_local _DECAL0
+#pragma shader_feature_local _DECAL0_REPLACE_ALPHA
//endex
//ifex _Decal1_Enabled==0
#pragma shader_feature_local _DECAL1
+#pragma shader_feature_local _DECAL1_REPLACE_ALPHA
//endex
//ifex _Decal2_Enabled==0
#pragma shader_feature_local _DECAL2
+#pragma shader_feature_local _DECAL2_REPLACE_ALPHA
//endex
//ifex _Decal3_Enabled==0
#pragma shader_feature_local _DECAL3
+#pragma shader_feature_local _DECAL3_REPLACE_ALPHA
//endex
//ifex _Decal4_Enabled==0
#pragma shader_feature_local _DECAL4
+#pragma shader_feature_local _DECAL4_REPLACE_ALPHA
//endex
//ifex _Decal5_Enabled==0
#pragma shader_feature_local _DECAL5
+#pragma shader_feature_local _DECAL5_REPLACE_ALPHA
//endex
//ifex _Decal6_Enabled==0
#pragma shader_feature_local _DECAL6
+#pragma shader_feature_local _DECAL6_REPLACE_ALPHA
//endex
//ifex _Decal7_Enabled==0
#pragma shader_feature_local _DECAL7
+#pragma shader_feature_local _DECAL7_REPLACE_ALPHA
//endex
//ifex _Matcap0_Enabled==0