summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-03-06 19:45:42 -0800
committeryum <yum.food.vr@gmail.com>2025-03-06 19:45:42 -0800
commit39f1d5d72d3395b4ee2ee6d0d2304a33674f2092 (patch)
tree360d4f71a61552a9846a7b5cce45ea741ea802f8 /globals.cginc
parent6482b8edd3ecdbf136692e910258dc452f8be71b (diff)
add filament cloth brdf
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc10
1 files changed, 10 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index 79e25f4..a805830 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -324,4 +324,14 @@ texture2D _Glitter_Mask;
#endif // _GLITTER_MASK
#endif // _GLITTER
+#if defined(_MATERIAL_TYPE_CLOTH)
+texture2D _Cloth_Mask;
+float3 _Cloth_Sheen_Color;
+float _Cloth_Direct_Multiplier;
+float _Cloth_Indirect_Multiplier;
+#if defined(_MATERIAL_TYPE_CLOTH_SUBSURFACE)
+float3 _Cloth_Subsurface_Color;
+#endif // _MATERIAL_TYPE_CLOTH_SUBSURFACE
+#endif // _MATERIAL_TYPE_CLOTH
+
#endif // __GLOBALS_INC