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 /pbr.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 'pbr.cginc')
| -rw-r--r-- | pbr.cginc | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,9 +1,3 @@ -#ifndef __PBR_INC -#define __PBR_INC - -#include "UnityPBSLighting.cginc" -#include "AutoLight.cginc" - #include "globals.cginc" #include "filament_math.cginc" #include "globals.cginc" @@ -11,6 +5,9 @@ #include "MochieStandardBRDF.cginc" #include "poi.cginc" +#ifndef __PBR_INC +#define __PBR_INC + #if defined(_LTCGI) #include "Third_Party/at.pimaker.ltcgi/Shaders/LTCGI_structs.cginc" |
