From 102f53a2402b204d1dc679078aaf8ba5765d97a7 Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 3 Jun 2025 23:49:25 -0700 Subject: Add spatiotemporal dithering to fog --- globals.cginc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'globals.cginc') diff --git a/globals.cginc b/globals.cginc index 22d707b..341e08b 100644 --- a/globals.cginc +++ b/globals.cginc @@ -536,12 +536,17 @@ float _SSAO_Bias; #endif // _SSAO #if defined(_RAYMARCHED_FOG) +float3 _Raymarched_Fog_Color; float _Raymarched_Fog_Steps; float _Raymarched_Fog_Density; texture2D _Raymarched_Fog_Dithering_Noise; +float4 _Raymarched_Fog_Dithering_Noise_TexelSize; texture3D _Raymarched_Fog_Density_Noise; float4 _Raymarched_Fog_Density_Noise_Scale; float _Raymarched_Fog_Y_Cutoff; +float _Raymarched_Fog_Height_Density_Min; +float _Raymarched_Fog_Height_Density_Max; +float _Raymarched_Fog_Height_Density_Power; #endif // _RAYMARCHED_FOG #endif // __GLOBALS_INC -- cgit v1.2.3