summaryrefslogtreecommitdiffstats
path: root/eyes.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-09-18 23:24:49 -0700
committeryum <yum.food.vr@gmail.com>2024-09-18 23:24:49 -0700
commitb904835dc91db76627ecb08636cd5c339a07a1df (patch)
treecf0bc3b06f318e802b7d855e78a9ddcdbec6d3a2 /eyes.cginc
parent0b12f0aff502b04e48efd3141637fc0bb20a7f2d (diff)
Add shader inlining tooling
This should solve the issue of Unity failing to fully recompile my fucking shader.
Diffstat (limited to 'eyes.cginc')
-rw-r--r--eyes.cginc6
1 files changed, 3 insertions, 3 deletions
diff --git a/eyes.cginc b/eyes.cginc
index 3a913b0..f993400 100644
--- a/eyes.cginc
+++ b/eyes.cginc
@@ -1,10 +1,10 @@
-#ifndef __EYES_INC
-#define __EYES_INC
-
#include "globals.cginc"
#include "interpolators.cginc"
#include "iq_sdf.cginc"
+#ifndef __EYES_INC
+#define __EYES_INC
+
#if defined(_GIMMICK_EYES_00)
float eyes00_distance_from_sphere(float3 p, float3 c, float r)