summaryrefslogtreecommitdiffstats
path: root/2ner.cginc
diff options
context:
space:
mode:
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;