summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-06-13 17:59:00 -0700
committeryum <yum.food.vr@gmail.com>2025-06-13 17:59:00 -0700
commita9dbbfa1488a9ec3bd772fc9847888502f49a65e (patch)
tree2930432ee795faff97b81c6261c2160a37125048 /globals.cginc
parentf639117b1f743ab2941667b32b190dd1e715d4a5 (diff)
Fix some filamented inconsistencies
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc17
1 files changed, 17 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index cbc6dba..3688378 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -3,6 +3,23 @@
#include "features.cginc"
+// Filamented global variables
+half _ExposureOcclusion;
+half _LightmapSpecularMaxSmoothness;
+
+#if defined(USING_BAKERY_VERTEXLM)
+float bakeryLightmapMode;
+#endif
+
+#if defined(_VRCLV)
+half _VRCLVSurfaceBias;
+float _UdonLightVolumeEnabled;
+float _UdonLightVolumeAdditiveCount;
+#endif
+
+// Math constants
+#define FLT_EPS 1.192092896e-07
+
#if defined(_SSAO) || defined(_RAYMARCHED_FOG)
UNITY_DECLARE_DEPTH_TEXTURE(_CameraDepthTexture);
float4 _CameraDepthTexture_TexelSize;