summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2026-02-24 18:11:03 -0800
committeryum <yum.food.vr@gmail.com>2026-02-24 18:11:03 -0800
commitaacad28954ceb792ecc7ebd90338466b9f70d456 (patch)
tree8a9a7b793caa594728d322646d4f3417f9b532bb /globals.cginc
parent142805d05c999ab1c36cdecffcc305c66dd15feb (diff)
Implement wrapped lighting (direct & IBL diffuse)
Diffstat (limited to 'globals.cginc')
-rwxr-xr-xglobals.cginc4
1 files changed, 4 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index 031fdc5..d3b2a87 100755
--- a/globals.cginc
+++ b/globals.cginc
@@ -37,6 +37,10 @@ float _Brightness_Clamp_Min;
float _Brightness_Clamp_Max;
#endif // _BRIGHTNESS_CLAMP
+#if defined(_WRAPPED_LIGHTING)
+float _Wrapped_Lighting_Amount;
+#endif // _WRAPPED_LIGHTING
+
#if defined(_AMBIENT_OCCLUSION)
texture2D _OcclusionMap;
float4 _OcclusionMap_ST;