summaryrefslogtreecommitdiffstats
path: root/2ner.cginc
diff options
context:
space:
mode:
Diffstat (limited to '2ner.cginc')
-rw-r--r--2ner.cginc8
1 files changed, 7 insertions, 1 deletions
diff --git a/2ner.cginc b/2ner.cginc
index d78e3db..bd5e743 100644
--- a/2ner.cginc
+++ b/2ner.cginc
@@ -196,8 +196,14 @@ float4 frag(v2f i, uint facing : SV_IsFrontFace
_Raymarched_Fog_Density,
_Raymarched_Fog_Y_Cutoff,
_Raymarched_Fog_Dithering_Noise,
+ _Raymarched_Fog_Dithering_Noise_TexelSize,
_Raymarched_Fog_Density_Noise,
- _Raymarched_Fog_Density_Noise_Scale
+ _Raymarched_Fog_Density_Noise_Scale,
+ #if defined(_RAYMARCHED_FOG_HEIGHT_DENSITY)
+ _Raymarched_Fog_Height_Density_Min,
+ _Raymarched_Fog_Height_Density_Max,
+ _Raymarched_Fog_Height_Density_Power,
+ #endif
};
FogResult fog_result = raymarched_fog(i, fog_params);
depth = fog_result.depth;