summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-11-26 03:15:12 -0800
committeryum <yum.food.vr@gmail.com>2024-11-26 03:15:12 -0800
commitbd414285c4e95dd666f4ab5058b5f2ef993c5699 (patch)
treeae59ed9fc8d196bf06ff55cc431f40b2b9af8811 /globals.cginc
parent625b8130fd394b1af29e1bee43cb236190666ee5 (diff)
Interleaved gradient noise is now parameterized by frame count
I'm using an AAP (vrc.school/docs/Other/AAPs/) to create a frame counter. That frame counter then drives this parameter. Thus the sparkly pattern won't turn into gross flashing when the framerate is low. Also add a speed parameter to control IGN.
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc3
1 files changed, 3 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index b5b2160..a038a05 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -37,6 +37,8 @@ float _Reflection_Probe_Saturation;
float _Min_Brightness;
float _Max_Brightness;
+float _Frame_Counter;
+
float _Mesh_Normals_Mode;
float _Flatten_Mesh_Normals_Str;
float _Confabulate_Normals;
@@ -320,6 +322,7 @@ float _Ambient_Occlusion_Strength;
float _Alpha_Cutoff;
#if defined(_RENDERING_CUTOUT_IGN)
float _Rendering_Cutout_Ign_Seed;
+float _Rendering_Cutout_Ign_Speed;
#endif
#endif