From e57cfb120534ede4005f538ddd158b9dc5061d3c Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 3 Jun 2025 22:48:02 -0700 Subject: Fix fog compilation break --- 2ner.cginc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '2ner.cginc') diff --git a/2ner.cginc b/2ner.cginc index 96d997d..d78e3db 100644 --- a/2ner.cginc +++ b/2ner.cginc @@ -194,10 +194,10 @@ float4 frag(v2f i, uint facing : SV_IsFrontFace FogParams fog_params = { _Raymarched_Fog_Steps, _Raymarched_Fog_Density, + _Raymarched_Fog_Y_Cutoff, _Raymarched_Fog_Dithering_Noise, _Raymarched_Fog_Density_Noise, - _Raymarched_Fog_Density_Noise_Scale, - _Raymarched_Fog_Y_Cutoff + _Raymarched_Fog_Density_Noise_Scale }; FogResult fog_result = raymarched_fog(i, fog_params); depth = fog_result.depth; -- cgit v1.2.3