summaryrefslogtreecommitdiffstats
path: root/2ner.shader
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-06-03 22:37:12 -0700
committeryum <yum.food.vr@gmail.com>2025-06-03 22:37:35 -0700
commit07d204fd6631ae0d0bfec16c8d057cd39c5ab810 (patch)
tree1721b235fd8a20c8efbbdbaabb47c9841d90225c /2ner.shader
parentf53c49c69ee42917e3789bbfe792c9d53c287e76 (diff)
Continue work on fog
Fix screen uv calculation
Diffstat (limited to '2ner.shader')
-rw-r--r--2ner.shader3
1 files changed, 3 insertions, 0 deletions
diff --git a/2ner.shader b/2ner.shader
index 439da3b..4f137e7 100644
--- a/2ner.shader
+++ b/2ner.shader
@@ -824,6 +824,7 @@ Shader "yum_food/2ner"
_Raymarched_Fog_Dithering_Noise("Dithering noise", 2D) = "black" {}
_Raymarched_Fog_Density_Noise("Density noise", 3D) = "black" {}
_Raymarched_Fog_Density_Noise_Scale("Density noise scale", Vector) = (1, 1, 1, 0)
+ _Raymarched_Fog_Y_Cutoff("Y cutoff", Float) = -1000
[HideInInspector] m_end_Raymarched_Fog("Raymarched fog", Float) = 0
//endex
@@ -2173,6 +2174,7 @@ Shader "yum_food/2ner"
CGPROGRAM
#pragma target 5.0
+ #pragma multi_compile_fwdbase
#pragma multi_compile_fullshadows
#pragma multi_compile_instancing
#pragma multi_compile_fog
@@ -2330,6 +2332,7 @@ Shader "yum_food/2ner"
CGPROGRAM
#pragma target 5.0
+ #pragma multi_compile_fwdbase
#pragma multi_compile_fullshadows
#pragma multi_compile_instancing
#pragma multi_compile_fog