diff options
| author | yum <yum.food.vr@gmail.com> | 2024-09-18 23:24:49 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-09-18 23:24:49 -0700 |
| commit | b904835dc91db76627ecb08636cd5c339a07a1df (patch) | |
| tree | cf0bc3b06f318e802b7d855e78a9ddcdbec6d3a2 /tooner_lighting.cginc | |
| parent | 0b12f0aff502b04e48efd3141637fc0bb20a7f2d (diff) | |
Add shader inlining tooling
This should solve the issue of Unity failing to fully recompile my
fucking shader.
Diffstat (limited to 'tooner_lighting.cginc')
| -rw-r--r-- | tooner_lighting.cginc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tooner_lighting.cginc b/tooner_lighting.cginc index 80e8400..970a965 100644 --- a/tooner_lighting.cginc +++ b/tooner_lighting.cginc @@ -1,7 +1,6 @@ -#ifndef TOONER_LIGHTING -#define TOONER_LIGHTING - #include "UnityCG.cginc" +#include "AutoLight.cginc" +#include "UnityPBSLighting.cginc" #include "audiolink.cginc" #include "clones.cginc" @@ -20,6 +19,9 @@ #include "trochoid_math.cginc" #include "oklab.cginc" +#ifndef TOONER_LIGHTING +#define TOONER_LIGHTING + // Hacky parameterizable whiteout blending. Probably some big mistakes but it // passes the eyeball test. // At w=0.5, this looks kinda like whiteout blending. |
