From 8ba49869f909036002b8f2cb9d07cf2ed6b15c6c Mon Sep 17 00:00:00 2001 From: yum Date: Fri, 13 Jun 2025 18:21:34 -0700 Subject: Add lightmap occlusion term to specular AO --- globals.cginc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index 3688378..8c11d15 100644 --- a/globals.cginc +++ b/globals.cginc @@ -3,10 +3,6 @@ #include "features.cginc" -// Filamented global variables -half _ExposureOcclusion; -half _LightmapSpecularMaxSmoothness; - #if defined(USING_BAKERY_VERTEXLM) float bakeryLightmapMode; #endif @@ -113,6 +109,8 @@ float _Spherical_Harmonics; float _reflectance; float _specularAntiAliasingVariance; float _specularAntiAliasingThreshold; +float _ExposureOcclusion; +float _LightmapSpecularMaxSmoothness; #if defined(_METALLICS) float _Smoothness; -- cgit v1.2.3