summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-11-09 16:48:18 -0800
committeryum <yum.food.vr@gmail.com>2025-11-09 16:48:18 -0800
commit66fe6def0c13e24f6cc95915371ad132aac35bf9 (patch)
tree4e5ef25e46f50fbe893e05c94d5833943d73986f /globals.cginc
parente7008baac77c82d2865e0d54928269528be034d2 (diff)
spotlight, clearcoat bugfixes; and add third matcap
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc15
1 files changed, 15 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index 25b5fc6..7713f8c 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -178,6 +178,21 @@ float _Matcap1_Quantization_Steps;
#endif
#endif
+#if defined(_MATCAP2)
+texture2D _Matcap2;
+uint _Matcap2_Mode;
+uint _Matcap2_Target_Mask;
+float _Matcap2_Invert;
+float _Matcap2_Strength;
+#if defined(_MATCAP2_MASK)
+texture2D _Matcap2_Mask;
+float4 _Matcap2_Mask_ST;
+#endif
+#if defined(_MATCAP2_QUANTIZATION)
+float _Matcap2_Quantization_Steps;
+#endif
+#endif
+
#if defined(_RIM_LIGHTING0)
uint _Rim_Lighting0_Mode;
float _Rim_Lighting0_Center;