summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-11-11 15:47:16 -0800
committeryum <yum.food.vr@gmail.com>2025-11-11 15:47:16 -0800
commit5cbad6aa884ee4c77f6af65cdfceac987f54a227 (patch)
tree0648d2c763841919f7597d94da4a292f106e8ccb /globals.cginc
parenta9d68542ce0dede3a9759107b7ae76bedfa62c1e (diff)
add clearcoat mask
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc6
1 files changed, 6 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index 5f8f684..063b047 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -54,6 +54,12 @@ float _Clearcoat_Strength;
float _Clearcoat_Roughness;
#endif // _CLEARCOAT
+#if defined(_CLEARCOAT_MASK)
+texture2D _Clearcoat_Mask;
+float4 _Clearcoat_Mask_ST;
+float _Clearcoat_Mask_Strength;
+#endif // _CLEARCOAT_MASK
+
#if defined(_CLOTH_SHEEN)
float _Cloth_Sheen_Strength;
float3 _Cloth_Sheen_Color;