From a9dbbfa1488a9ec3bd772fc9847888502f49a65e Mon Sep 17 00:00:00 2001 From: yum Date: Fri, 13 Jun 2025 17:59:00 -0700 Subject: Fix some filamented inconsistencies --- globals.cginc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'globals.cginc') 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; -- cgit v1.2.3