From 39f1d5d72d3395b4ee2ee6d0d2304a33674f2092 Mon Sep 17 00:00:00 2001 From: yum Date: Thu, 6 Mar 2025 19:45:42 -0800 Subject: add filament cloth brdf --- globals.cginc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'globals.cginc') 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 -- cgit v1.2.3