From dfa489b6e6090388186b1d32fb126a11b42d31c5 Mon Sep 17 00:00:00 2001 From: yum Date: Fri, 28 Feb 2025 18:07:46 -0800 Subject: add second matcap slot --- globals.cginc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index c5fa966..67fb1a5 100644 --- a/globals.cginc +++ b/globals.cginc @@ -121,6 +121,21 @@ float _Matcap0_Quantization_Steps; #endif #endif +#if defined(_MATCAP1) +texture2D _Matcap1; +uint _Matcap1_Mode; +uint _Matcap1_Target_Mask; +float _Matcap1_Invert; +float _Matcap1_Strength; +#if defined(_MATCAP1_MASK) +texture2D _Matcap1_Mask; +float4 _Matcap1_Mask_ST; +#endif +#if defined(_MATCAP1_QUANTIZATION) +float _Matcap1_Quantization_Steps; +#endif +#endif + #if defined(_RIM_LIGHTING0) uint _Rim_Lighting0_Mode; float _Rim_Lighting0_Center; -- cgit v1.2.3