summaryrefslogtreecommitdiffstats
path: root/2ner.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-06-03 22:48:02 -0700
committeryum <yum.food.vr@gmail.com>2025-06-03 22:54:54 -0700
commite57cfb120534ede4005f538ddd158b9dc5061d3c (patch)
tree71f3c855ae087ba8b458fe8fcee8cd0e46ae6413 /2ner.cginc
parent957e3f00b77e6ed6dd9315eede83ecb419710350 (diff)
Fix fog compilation break
Diffstat (limited to '2ner.cginc')
-rw-r--r--2ner.cginc4
1 files changed, 2 insertions, 2 deletions
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;