diff options
| author | yum <yum.food.vr@gmail.com> | 2024-05-27 14:11:31 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-05-27 14:11:31 -0700 |
| commit | c9af3d5c85836588f7e82bcbb172bb21251427bf (patch) | |
| tree | 76fa6f2fad6e88b4dee28d65fce36be3e30366c2 | |
| parent | 7f0f66a5925a7c4dc27a6b061510b0f5905780e6 (diff) | |
Unity sucks fucking ass and balls and dick too
Import order matters.
https://catlikecoding.com/unity/tutorials/rendering/part-7/
| -rw-r--r-- | pbr.cginc | 2 | ||||
| -rw-r--r-- | tooner_lighting.cginc | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -1,8 +1,8 @@ #ifndef __PBR_INC #define __PBR_INC -#include "AutoLight.cginc" #include "UnityPBSLighting.cginc" +#include "AutoLight.cginc" #include "globals.cginc" #include "interpolators.cginc" diff --git a/tooner_lighting.cginc b/tooner_lighting.cginc index 119ae77..2c66964 100644 --- a/tooner_lighting.cginc +++ b/tooner_lighting.cginc @@ -1,6 +1,8 @@ #ifndef TOONER_LIGHTING #define TOONER_LIGHTING +#include "pbr.cginc" + #include "audiolink.cginc" #include "clones.cginc" #include "globals.cginc" @@ -8,7 +10,6 @@ #include "iq_sdf.cginc" #include "math.cginc" #include "motion.cginc" -#include "pbr.cginc" #include "poi.cginc" #include "shadertoy.cginc" #include "tooner_scroll.cginc" |
