summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-08-08 19:14:38 -0700
committeryum <yum.food.vr@gmail.com>2025-08-08 19:14:38 -0700
commit7cdf39f51b47553af89c3de5b86d33ded4b5cdd2 (patch)
tree47fdf40b13ada0ea52b545b941b0acc29066e448 /globals.cginc
parent310dbc3a5393635e08faf78ddf47c57a37524d4b (diff)
Add cloth lobe & IBL DFG LUTs
- add monte carlo integrator to produce the luts - fix layer energy integration; should be multiplicative, not additive
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc8
1 files changed, 8 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index 12e86c8..3ccaac4 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -7,6 +7,7 @@ SamplerState point_repeat_s;
SamplerState linear_repeat_s;
SamplerState bilinear_repeat_s;
SamplerState linear_clamp_s;
+SamplerState bilinear_clamp_s;
SamplerState trilinear_repeat_s;
int _Mode; // opaque, cutout, transparent, etc.
@@ -25,6 +26,7 @@ float4 _MetallicGlossMap_ST;
float _Glossiness;
float _Metallic;
+texture2D _DFG_LUT;
float _Specular_AA_Variance;
float _Specular_AA_Threshold;
float _BRDF_Specular_Min_Denom;
@@ -49,4 +51,10 @@ float _Clearcoat_Strength;
float _Clearcoat_Roughness;
#endif // _CLEARCOAT
+#if defined(_CLOTH_SHEEN)
+float _Cloth_Sheen_Strength;
+float3 _Cloth_Sheen_Color;
+texture2D _Cloth_Sheen_DFG_LUT;
+#endif // _CLOTH_SHEEN
+
#endif // __GLOBALS_INC