summaryrefslogtreecommitdiffstats
path: root/globals.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-11-03 15:35:40 -0800
committeryum <yum.food.vr@gmail.com>2024-11-03 15:35:40 -0800
commit4adbc6dfbf2409f34e11e001db2b434feeeb435f (patch)
treece49b708f24bb0d3d6c76016393af5e7f0ec11a6 /globals.cginc
parentb7d3cb5d759feab1e44f4cdb01a0c8922bf4f1cb (diff)
Add interleaved gradient noise cutout mode
Based on screen space uvs.
Diffstat (limited to 'globals.cginc')
-rw-r--r--globals.cginc6
1 files changed, 6 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc
index 4b032c9..a62bb07 100644
--- a/globals.cginc
+++ b/globals.cginc
@@ -3,6 +3,12 @@
#ifndef __GLOBALS_INC
#define __GLOBALS_INC
+struct ToonerData
+{
+ float2 screen_uv;
+ uint2 screen_uv_round;
+};
+
UNITY_DECLARE_DEPTH_TEXTURE(_CameraDepthTexture);
SamplerState point_repeat_s;